Search Issue Tracker
Fixed in Entities 0.5.0-preview.17
Votes
0
Found in [Package]
Entities 0.3.0-preview.4
Issue ID
1203652
Regression
No
Serializing System.String[] of only one element causes exception: Index has to be >= lower bound and <= upper bound of the array
How to reproduce:
1. Open the attached SerializationIssue.zip project
2. Open the Sample Scene from the Project window
3. Go to the Hierarchy window-> select GameObject scene
4. Go to the Inspector window-> Sub Scene (script) -> Press Edit and then Close button
5. Inspect the error in the Console window
Actual: The error is thrown:
"Error when processing 'AsyncLoadSceneJob(VirtualArtifacts/Extra/e0/e0eb776b2e6d8add6bf5bd08e0d0b515.0.entities)': System.IndexOutOfRangeException: Index has to be >= lower bound and <= upper bound of the array.
at System.Array.SetValue (System.Object value, System.Int32 index) [0x00034] in <437ba245d8404784b9fbab9b439ac908>:0"
Reproducible with: 20219.3.0f2, 2020.1.0a16
Note: Could not test with earlier versions because of the thrown errors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment