Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.4.0-pre.3 - Entities
Issue ID
ECSB-1737
Regression
Yes
"ArgumentException: Unknown Type:UnityEngine.Camera" is thrown when entering Play Mode
How to reproduce:
1. Open the “IN-108964_CameraEntitiesError“ project
2. Enter Play Mode
3. Observe Console
Expected result: No errors appear
Actual result: An error is thrown: “ArgumentException: Unknown Type:{{UnityEngine.Camera}} All Entities component types must be registered with the TypeManager.“
Reproducible with: 1.4.0-pre.3 (6000.0.54f1, 6000.1.13f1, 6000.2.0b11, 6000.3.0a3)
Not reproducible with: 1.4.0-exp.2 (6000.2.0b11, 6000.3.0a3)
Reproducible on: macOS 15.5 (M1 Max), Windows 10 (by user)
Not reproducible on: no other environments tested
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
It is necessary to register the component with the type manager now as per the error message:
`throw new ArgumentException($"Unknown Type:`{typeof(T)}` All Entities component types must be registered with the TypeManager. For generic components and UnityEngine components, register with [RegisterGenericComponentType] and [RegisterUnityEngineComponentType] respectively. "