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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment