Search Issue Tracker
Fixed in 5.3.1
Votes
0
Found in
5.3.0b1
Issue ID
734472
Regression
Yes
StateMachineBehaviours get stripped out when building with IL2CPP
How to reproduce:
1. Open attached project
2. Build to iOS and run
- Note the errors in the Xcode log:
Could not produce class with ID 126
(Filename: Line: 1257)
Script error (BotTestInit): OnStateEnter() can not take parameters.
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoScriptCache.cpp Line: 411)
- Can be avoided by disabling stripping in the Player Settings
- Reproduced in Version 5.3.0f3 (a9403fa06183)
- Not reproducible in Version 5.4.0a4 (426f677d5fa7), Version 5.2.3f1 (f3d16a1fa2dd)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ScalableBufferManager does not work correctly when MSAA and RenderGraph Compatability are enabled
- Sprite artefacts appear when Sprite Packer is enabled
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
Add comment