-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using INF as float breaks scene #40589
Comments
I've tested on Windows (latest 3.2 branch), and it looks like it's fixed for Here's the script I'm using to set the values:
Saved scene:
Errors when loading the scene in the editor:
|
As a note, entering INF in the editor itself will set it to 1.#INF and displayed as 1.#IO |
This is non-standard format specific to pre-Visual Studio 2015 C runtime, all other CRTs should print it as |
Should the editor even allow entering values like |
This is a quite consistent 'problem'. |
@redoxcode We can prevent using See also #24531, which is tangentially related to this issue. |
I know. Still you would have a ton of code to make |
I had the same problem in 3.2.3. I did not input |
Godot version:
v3.2.2.stable.mono.official
OS/device including version:
OS: Windows 10
Issue description:
After using a tool script to set a Raycast2D node's cast_to to positive y on infinity, I attempted to run the scene but the game simply crashes. After reopening the editor fails to parse the scene. Included in the log is the following:
Steps to reproduce:
Minimal reproduction project:
INFbug.zip
The text was updated successfully, but these errors were encountered: