Prerequisites
NOTE: THIS WILL NOT WORK IN A NON-DOTS/ECS ENVIROMENT. YOU MUST BE WORKING IN UNITY DOTS & ECS
Before you setup DOTS Dynamic Bone it is important that you import the following unity packages from the Package Manager (Note: links may not always send you to the latest version):
- Unity.Animation v0.9.0-preview.6
- Unity.Entities v0.17.0-preview.42
- Unity.Physics v0.6.0-preview.3
- Unity.Rendering.Hybrid v0.11.0-preview.44
- Either the Universal Render Pipeline and/or High Definition Render Pipeline.
Setup
After adding the required packages you will need to add these scripting defines to your project
ENABLE_COMPUTE_DEFORMATIONS
and is recommended you add these
ENABLE_HYBRID_RENDERER_V2 UNITY_POST_PROCESSING_STACK_V2
That's it!