Search Issue Tracker

Fixed

Fixed in 1.0.X - Entities

Votes

1

Found in [Package]

1.0.8 - Entities

Issue ID

ECSB-413

Regression

No

EntityManager.SetArchetype fails internal assertion when the archetypes are equal

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open the attached project “AssertionError”
2. Open Scene “Assets/Scenes/SampleScene.unity”
3. Disable Burst compilation (Jobs > Burst and uncheck the “Enable Compilation option)
4. Enter the Play Mode
5. Observe the Console

Expected result: No errors printed in the Console
Actual result: “AssertionException: Assertion failure. Value was True” is printed in the Console

Reproducible with: 1.0.0-pre.65, 1.0.8 (2022.2.21f1, 2023.1.0b17, 2023.2.0a16)
Couldn't test with: 1.0.0-pre.47 (2022.2.21f1, 2023.1.0b17, 2023.2.0a16 Library\PackageCache\com.unity.entities@1.0.0-pre.47\Unity.Entities\ScratchpadAllocator.cs(195,39): error CS1061), 1.0.0-pre.47, 1.0.0-pre.65, 1.0.8 (2020.3.48f1, 2021.3.25f1 Library\PackageCache\com.unity.collections@2.1.4\Unity.Collections\FixedList.gen.cs(23,13): error CS0234)

Reproducible on: Windows 10
Not reproducible on: Intel MacOS 13.3.1

  1. Resolution Note (fix version 1.0.X - Entities):

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.