Search Issue Tracker


Fixed in 1.0.X (Patch 5)



Found in [Package]

1.0.0 - Entities

Issue ID




“KeyNotFoundException” error is thrown when building the project with a Sub Scene that includes a Prefab which uses a Sprite Map

Package: Entity Component System (ECS)


How to reproduce:
1. Open the “EntitiesBug“ project
2. Open the “SampleScene”
3. Build the project and observe the Console (File > Build Settings > Build)

Expected result: the Build is successful
Actual result: the Build fails and the “KeyNotFoundException” error is thrown

Reproduced with: 1.0.8 (2022.3.1f1), 1.0.10 (2022.3.1f1)

Reproduced on: Windows 10 (by reporter), Windows 11

1. Full error logs are provided in internal comments
2. Sometimes the issue is not reproducible, therefore it might be necessary to build the project at least 2 times
3. Not reproducible when building the project without using Sub Scene with the “UI_Prefab” → building the project in a regular Scene with the “UI_Prefab” does not throw errors
4. Not reproducible when removing the “IngameDebugConsole” Prefab from “UI_Prefab” in the “UI Prefab Authoring” Script Component in the second “data” field

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.