Search Issue Tracker
Duplicate
Votes
3
Found in [Package]
0.10.0-preview.6
Issue ID
1246033
Regression
Yes
[ECS] Crash on Unity.Entities.EntityDataAccess:AddComponentDuringStructuralChange when creating SubScene from DirectionalLight
Reproduction steps:
1. Open the user's attached "UnitMoveTest.zip" project
2. Load the "TestScene01"
3. Select and right-click on the "Direction Light" GameObject in the Hierarchy window
4. Select Create Sub Scene > New SubScene From Selection and press Save
-- Observe the crash
Reproducible with: 2019.3.13f1, 2020.1.0b8, 2020.2.0a11 (0.10.0-preview.6)
Not reproducible with: 2019.3.13f1, 2020.1.0b8, 2020.2.0a11 (0.9.1-preview.19)
Couldn't test with Unity: 2018.4.21f1 (Entities Package does not exist)
First lines of the stack trace:
0x00007FFD37FA1075 (91b9d905f9bdb13ac0e4051ae53f94d) AAA6AEDB2D217911
0x0000021DE942362C (Mono JIT Code) (wrapper managed-to-native) object:wrapper_native_0000021D949F0060 (Unity.Entities.EntityComponentStore*,Unity.Entities.Entity*,int)
0x0000021DE94FCA61 (Mono JIT Code) [D:\Downloads\case_1246033\Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Entities\EntityDataAccess.cs:426] Unity.Entities.EntityDataAccess:AddComponentDuringStructuralChange (Unity.Entities.Entity,Unity.Entities.ComponentType)
0x0000021DE94FC143 (Mono JIT Code) [D:\Downloads\case_1246033\Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Entities\EntityDataAccess.cs:404] Unity.Entities.EntityDataAccess:AddComponent (Unity.Entities.Entity,Unity.Entities.ComponentType)
0x0000021DE94FC03B (Mono JIT Code) [D:\Downloads\case_1246033\Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Entities\EntityManagerChangeArchetype.cs:189] Unity.Entities.EntityManager:AddComponent (Unity.Entities.Entity,Unity.Entities.ComponentType)
0x0000021DE950024B (Mono JIT Code) [D:\Downloads\case_1246033\Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Entities\EntityManagerChangeArchetype.cs:851] Unity.Entities.EntityManager:AddComponentObject (Unity.Entities.Entity,object)
0x0000021DE94F461B (Mono JIT Code) [D:\Downloads\case_1246033\Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Scenes.Hybrid\SubScene.cs:219] Unity.Scenes.SubScene:AddSceneEntities ()
<...>
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
- Crash on ApiGLES::ClearBufferSubData when playing video on Meta Quest 2
- An additional Add node is created when double-clicking on a node in the ShaderGraph "Create Node" menu
- Shader Graph's Simple Noise node preview is black when no Active Targets are selected
- AudioSource starts playing at full volume when AudioMixerGroup is unloaded
- Audio fails to play in the WebGL Player when its clips are played in the Timeline
Resolution Note:
Fixed in: Burst 1.3.0-preview.11 release