-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
Engine Randomly Crashing - Logs indicate issue with get_global_position #101921
Comments
This absolutely needs a minimal project to make any sense of it, some ability to reproduce this is needed |
Gotcha, will put together a MRP now. |
Having difficulty isolating this. Basically, when I create a pure MRP scene to show this off, the bug disappears. However when I start in another scene and load into the scene in question, the bug re-appears. I can upload a video if that's allowed, but my best guess right now is that it's an issue with a scene that has been loaded into. |
I've narrowed it down further - it appears to be happening as an AudioStreamPlayer2D is being instantiated |
You can upload a video but it won't help much without knowing what goes wrong, a video can only say so much, and the important part is not to show it happens but what might cause it, so a video indicating some idea of that would possibly help, but in the end being able to know how to make this happen is absolutely required (otherwise we can't really solve it, we need to know that it's solved and not just not happening right now) |
I have narrowed it down further - I have this class which in-scene is just a Node2D with child AudioStreamPlayer2D
I instantiate this like this:
commenting the above shown lines got rid of the issue is there anything in these lines that stands out as problematic? |
I'm thinking it's this - going to run on 4.4 to see if it resolves: |
Unable to reproduce it in 4.4 - looks like that was it. Closing this then, thanks! |
Tested versions
Reproducible in 4.3 stable
System information
Godot Engine v4.3.stable.custom_build - https://godotengine.org Vulkan 1.3.289 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 4080 SUPER
Issue description
My game randomly started hard crashing (game window crashes without any error logs within Godot) and I looked up the log file with debug_symbols enabled:
Godot Engine v4.3.stable.custom_build - https://godotengine.org
Vulkan 1.3.289 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 4080 SUPER
It looks like for some reason (from my read) it is crashing when calling
get_global_position
withinaudio_stream_player_2d
Any insights on this or previous history of this issue?
Steps to reproduce
Kind of complicated - I've got AI running that hasn't caused any issues until now.
Minimal reproduction project (MRP)
Let me know if I should upload this - I'll have to put together a concise scene.
The text was updated successfully, but these errors were encountered: