Search Issue Tracker
Fixed in 5.0.1
Votes
0
Found in
5.0.0f4
Issue ID
679772
Regression
Yes
EditorGUI.FloatField cannot return "Infinity"
To reproduce:
1. Import attached script to project
2. Select window->Bug Test
3. Type infinity into first field
4. Notice that 3.40282347E+38f is returned instead of "Infinity"
Comments (2)
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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
jpease
Mar 17, 2015 04:21
@Mosy: Infinity is a perfectly valid value for a float. And I can confirm that this bug happens for me too and is a regression (works fine in earlier versions of Unity).
Mosy
Mar 12, 2015 16:45
Floats have a limit, and thus can not return a number that exceeds their limit, this is not a bug in Unity but a limitation of a Float.