Search Issue Tracker
Active
Under Consideration for 1.0.X, 1.2.X
Votes
3
Found in [Package]
1.0.16 (Patch 4)
1.2.0-pre.6 - Entities
Issue ID
ECSB-939
Regression
No
"ArgumentException: Cannot find TypeIndex for type hash" is thrown in the Player when using Entities Package in embedded mode
How to reproduce:
1. Open the “DOTSBug“ project
2. Open the “SampleScene”
3. Build And Run
4. Open and observe the Player.log
Expected result: No errors are thrown
Actual result: The “ArgumentException: Cannot find TypeIndex for type hash” error is thrown
Reproduced with: 1.0.16 (2022.3.20f1), 1.2.0-pre.6 (2023.3.0b9)
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Notes:
1. Not reproducible in the Editor
2. Not reproducible without a SubScene that contains a GameObject with a Rigidbody Component
3. The “Entities” and “Entities Graphics” Packages are moved from the “Library/PackageCache” folder to the “Packages” folder and used in embedded mode → more information about embedded mode can be found here: [https://docs.unity3d.com/Manual/upm-embed.html|https://docs.unity3d.com/Manual/upm-embed.html]
4. Reproducible in a new project
5. Full error is provided in the internal comments
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Add comment