godotengine / godotengine/godot
run current scene crashes with no error report when a label is set using animation player
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
-Godot 4.5.1
- AMD Radeon RX 9070 XT
- os Kubuntu 24.04
### System information
Godot v4.5.1.stable - Steam Runtime 2 (soldier) 2 on X11 - X11 display driver, Multi-window, 3 monitors - Vulkan (Mobile) - dedicated AMD Radeon RX 9070 XT (RADV GFX1201) - Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 threads) - 62.59 GiB memory
### Issue description
I'm using an animation player to trigger a function in the scrip on the root node. When triggered the function causes the running of the scene to crash. I have tried restarting godot and my pc, the crash it continues, strangely it only occurs when a this line runs: `label.set_text('Salutations Mortal! W')`
The issue doesn't occur if `label.set_text('Salutations Mortal!')` the crash occurs if a longer sentence is used. If the line is commented out no crash occurs. If the text is replaced with 'aaaaaaaaaaaaaaaaaaaaaa' it occurs again, one fewer 'a' and it doesn't.
I've used this method for displaying text a lot this is the first instance where its a problem. Not sure why. This is also significantly shorter text than I have used in other places. Calling a function to switch the text later on in the same animation doesn't have the same issue. Moving shot_12_text1() to later in the animation still causes the crash.
### Steps to reproduce
My set up:
The scrpt containing the functions:
The animation player activated shot_12_play() on frame 0 and shot_text1() on frame 1.
### Minimal reproduction project (MRP)
I'm not sure how to provide you with this, this is my first Godot project and its ~1GB compressed.
Contributor guide
Assessment
This issue has not been assessed yet.