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
- Packman: The same asset data is displayed differently in "Import" and "Remove" popups
- Reference to a deleted GameObject becomes "None" instead of "Missing" when the GameObject is restored with undo after entering and exiting Play Mode
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
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