Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
preview.26 - 0.0.12, preview.33 - 0.0.12
Issue ID
1166937
Regression
No
ECS throws an unclear exception when trying to add a large component
How to reproduce:
1. Open attached "project-1166937.zip" project and "SampleScene" scene
2. Enter Play mode and observe the error message in the Console window
Expected result: clearer error message (for example "InvalidArgumentException: Component type Foo is excessively large (20480 bytes). Components must be at most X bytes (and should preferably be much, much smaller).")
Actual result: unclear error message ("Passing an argument of size '20480'.")
Reproducible with: 2019.1.9f1 (Entities version: preview.33 - 0.0.12), 2019.2.0b9 (Entities version: preview.30 - 0.0.12), 2019.3.0a8 (Entities version: preview.33 - 0.0.12)
Could not test with: 2018.4.3f1 and earlier (Due to script errors)
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note:
This is a limitation of the mono runtime, unfortunately. Mono does not allow structs larger than 10000 bytes in size as parameters.