Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.0.10
Issue ID
1108671
Regression
No
Crash on pqInit when passing NaN values to SpriteShapeController.Spline.InsertPointAt()
How to reproduce:
1. Open the attached project
2. Open the "SampleScene.unity" scene
3. Press Play
Actual result: Unity crashes.
Reproducible with: 2019.1.0a13, 2018.3.1f1, 2018.2.20f1, 2018.1.9f2.
Notes:
The crash happens on line "spline.InsertPointAt(0, new Vector3(nan, nan, nan));", nan_casuing_script.cs: 13.
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Testing for invalid values such as NaN is potentially required on a number of APIs if we were to be tested for validity. This can be easily tested before calling the respective API.