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
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
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.