-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Godot 3.1 RC2 create_trimesh_collision() and create_convex_collision() lead to instant crash on Android #26976
Comments
Might be a regression from #26455 if it worked in beta 7. If so beta 10 should the first version where it starts crashing. |
I can reproduce on Samsung Galaxy S4. Here's the output from a
|
I tested with both beta 9 and beta 10 and I can confirm this. It works with beta 9 and crashes in beta 10. |
I also get errors when using create_convex_static_body. not sure if this is related or not. |
I've just experienced the same issue on Windows 10 when using create_convex_collision or create_outline with GLES2 enabled in Godot v3.1.stable.official. Only happened in the exported project, everything worked fine in the editor. |
Is there some progress on this one? I am not able to update Godot further than 3.1 beta 7 because my game needs this functionality. |
I'm currently using the 3.2 master builds and this feature seemed to have been dropped. No longer can you use create convex_collision from the editor. You will know have to manually create one using the collisionShape tool. Unless this is just a temporary removal from 3.2 builds? |
Oh, that doesn't sound too good. Do you know something about the methods from |
read about updates here...https://godotengine.org/article/godot-3-2-adds-support-convex-decomposition |
I'm a little confused, it doesn't say anything about the methods as far as I can see. Is there any update on this? Are the functions going to work again in a future release or are they dropped? What would be a way to work around this if they are dropped? |
I have crash also on exported Linux project - The-worst-Godot-test-project.zip
|
This issue still exists in Godot_v3.2-beta5_x11.64 for GLES2. Everything works in the editor (including running the game normally) but tested exports Linux/X11, Windows Desktop, HTML5 and Android, they all give this error. It is NOT specific to the Android platform. mesh.create_outline() is also affected by this issue. |
This may well be fixed by #34794, which was merged just after beta5, afaik. The original logcat is showing error from reading back geometry, which should now be allowed (although you may still get the error message, I posted a note about this on the PR). If it still crashes with a nightly build we could do with a new logcat output, from whoever tests it. |
@lawnjelly It seems I've successfully compiled a custom template for Linux/X11 from master and it appears to be working; the game runs and the collision meshes get generated, but it does give the error:
So it appears the error message might be redundant but I have not tested it on a system with Only support for GLES2. |
Closing as fixed by #34794. Regarding the error that is still being printed, it might actually be valid (but no longer causing a crash):
|
Godot version:
3.1 RC2
OS/device including version:
Oukitel K6000 Pro, Android 6.0
Samsung Galaxy J5, Android 7
Issue description:
The methods
create_convex_collision()
andcreate_trimesh_collision()
ofMeshInstance
(https://docs.godotengine.org/en/latest/classes/class_meshinstance.html lead to an instant crash on Android.The last version I tested was 3.1 beta 7, there it worked, so it seems it was introduced in some of the last betas.
I think this is the relevant error description from logcat:
Steps to reproduce:
create_convex_collision()
orcreate_trimesh_collision()
Minimal reproduction project:
AndroidCrash.zip
The text was updated successfully, but these errors were encountered: