Skip to content
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

Infinite log spamming 'Condition "!v.is_finite()" is true.' #101120

Open
XuaTheGrate opened this issue Jan 4, 2025 · 1 comment
Open

Infinite log spamming 'Condition "!v.is_finite()" is true.' #101120

XuaTheGrate opened this issue Jan 4, 2025 · 1 comment

Comments

@XuaTheGrate
Copy link

Tested versions

v4.3.stable.mono.official [77dcf97]

System information

Godot v4.3.stable.mono - Windows 10.0.19044 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 SUPER (NVIDIA; 32.0.15.6094) - AMD Ryzen 7 5700X 8-Core Processor (16 Threads)

Issue description

I was learning how to use quaternions and after some accidental mishap (or something, I'm not entirely sure) , my log is spammed with

servers/rendering/renderer_scene_cull.cpp:935 - Condition "!v.is_finite()" is true.

There is no spam if I do not select the affected node, but upon selecting it, it causes that to log every tick.
If I try to edit the Quaternion rotation in the editor during the spam, it occasionally comes up with:

Basis [X: (nan, nan, nan), Y: (nan, nan, nan), Z: (nan, nan, nan)] must be normalized in order to be casted to a Quaternion. Use get_rotation_quaternion() or call orthonormalized() if the Basis contains linearly independent vectors

I can only assume something failed and set the basis to invalid numbers.

Steps to reproduce

Unfortunately I am not able to reproduce what occured. I have been attempting to re-attempt the steps I had been doing to cause the issue to no avail. But from what I could understand:

  • I was rotating a Camera3D (with rotation_edit_mode set to Quaternion) and seeing how the numbers changed.
  • The numbers would get locked to 1, so I would attempt to force it by moving my mouse quickly.
  • At some point, it bugged and would no longer update the Quaternion values and began spamming the log.

Minimal reproduction project (MRP)

N/A

@XuaTheGrate
Copy link
Author

Opening up the scene file in a text editor, the Camera3D node appears as I thought:

[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(nan, nan, nan, nan, nan, nan, nan, nan, nan, 0, 0, 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants