-
-
Notifications
You must be signed in to change notification settings - Fork 23.7k
Open
Description
Tested versions
Tested in 4.5.1 then 4.6.Dev4
System information
Android 15 - Xiaomi HyperOS 2.0.205.0 (Poco M7 Pro 5G)
Issue description
When loading a new 3D scene, by deleting the children of the current and then loading the next by adding an instantiated PackedScene as a child, it seems like godot crashes without specific information in the log.
This only happen on the opengl compatibility renderer on mobile. I tested and the Mobile vulkan renderer works fine
Steps to reproduce
- Create a project with compatibility renderer and android export target
- Create a subviewport
- Create a 3D scene inside the subviewport.
- Make a scene switch logic that changes the scene inside the subviewport by clearing children then adding the packedscene of the new ones
- The game will crash
Minimal reproduction project (MRP)
https://github.com/SeleDreams/godot-android-crash-reproduction-project
I was able to make a very simple reproduction project that immediately produces the crash when the game starts. mobile renderer works fine, only compatibility crashes