Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2019.4.6f1
2020.1
2020.2
Issue ID
1272602
Regression
No
Managed code stripping strips Animation Rigging Scripts when building with Asset Bundles
How to reproduce:
1. Open the attached "AnimationBug2.zip" project
2. Open the "SampleScene" Scene from the Assets > Scenes folder
3. Enter Play Mode and observe the Model
4. Exit Play Mode
5. Build and Run the project
Expected results: the model behaves the same way in a built game as in Play Mode
Actual results: the model is stuck in a T-Pose and Player.log is full of errors
Reproducible with: 2019.4.9f1, 2020.1.4f1, 2020.2.0a21
Could not test with: 2018.4.26f1 (Animation Rigging package isn't available)
Notes:
-This issue reproduces with both Mono and IL2CPP Scripting Backends
-This issue reproduces with both .NET 4.x and .NET Standard 2.0 API Compatibility Levels
-This issue reproduces with Low, Medium, and High Managed Stripping Levels
-This issue doesn't reproduce with Disable Managed Stripping Level
-Most of the errors in the Player.log file are: The referenced script (Unknown) on this Behaviour is missing!
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector window flickers when a selector is created using a Style Class List Section
- [iOS] "UnityBatchPlayerLoop()" causes a freeze in the iOS application when it is put to the background and brought back to the foreground
- "Perform Selected" of Shortcut Manager window does not perform the shortcut in some cases
- Crash on mono_get_hazardous_pointer when running Play Mode tests in a specific project
- [iOS] ‘확인’(Done) and '취소'(Cancel) text is displayed as '...' in the on-screen keyboard when the System preferred language is set to Korean
Resolution Note:
AssetBundle manifest file contains the list of used class types in asset bundles and must be provided to the build pipeline via the BuildPlayerOptions struct in order for code stripping to know about these classes. https://docs.unity3d.com/ScriptReference/BuildPlayerOptions.html