Search Issue Tracker
Fixed in 0.10.0-preview.6
Votes
0
Found in [Package]
0.3.0-preview.4, 0.5.1-preview.11
Issue ID
1209642
Regression
No
[ECS] [IL2CPP] Error in IL2CPP when enabling a subscene script between the first scene load and MoveEntitiesFrom call
How to reproduce:
1. Open the attached project ("case_1209642-SubScene-AOT.zip")
2. Open the repro scene ("SampleScene")
3. Run and Build the project
Expected results: No errors are thrown
Actual results: "ExecutionEngineException" error is thrown, saying that "no ahead of time (AOT) code was generated."
Reproducible with: 2019.3.0f6, 2020.1.0a22
Couldn't test up to 2019.3 (ECS does not support backward compatibility)
Reproducible with package versions: 0.3.0-preview.4, 0.5.1-preview.11
Notes:
1. The issue does not reproduce if all sub-scenes have SubScene script enabled from the start
2. Does not reproduce on Mono backend
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Add comment