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] The Player freezes when disabling Bluetooth while connected to the headphones
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
Add comment