-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
OBJ meshes get corrupted on reimport on Android editor #80371
Comments
Are you 100% sure the models look proper in Blender, that the materials aren't set as two-sided |
This is the obj file from my last photo, you can try opening it on blender |
sure |
I don't understand why this is happening, it's affecting development. |
Maybe the 4.1.1 version fixed the problem. |
@clayjohn @m4gr3d @BastiaanOlij Any ideas how to test on Android? The broken obj import seems to be a specific bug. |
I confirm the bug with 4.1.1 on Android (Xiaomi Poco F1). Both the mobile and GL renderer seem to have the same issue. I tried switching the MRP's obj to import as scene, which didn't solve it, but after switching back to import as mesh I managed to get a good import (3 default cubes). Then hitting reimport again made the cubes disappear. |
sure |
Possibly related if the mesh reimport process tries to read back mesh data at some point: #75599 |
Please, fixing this bug is important to me |
Issues are resolved by contributors on a best-effort basis. We can't provide an ETA on when this will be fixed. |
hi guys, I have an idea why this might be happening. I have 2 devices: realme c21 with android 11 and Xiaomi pad 5 with android 13. I've been programming on both of them using C++. I have created a graphical application using SDL2. As you know, SDL2 uses double buffering, and if everything was fine on Realme, then on Xiaomi pad 5 the second buffer was constantly changing, various incomprehensible pieces appeared there, and sometimes it was completely cleaned. I solved the problem by manually creating a buffer. As I said, the problem was only on the Xiaomi pad 5. I decided to check if the problem is related to the device. I asked a friend for a Poco x 3 pro and after launching the program, I realized that the problem was related to either MIUI or android 13. In the end, I decided to download Godot 4 on Realme c21 and the result only confirmed my theory: the problem is related to either MIUI or android 13. As far as I understand, something affects dynamic memory when no one uses it and in order to solve the problem, it is necessary to save data in dynamic memory, until then, while this data will not be needed. Also, the erase command sometimes breaks data in the container, I didn't look at the code, but if the erase command is used, then you should be more careful with it. I hope this information helps a little. Xiaomi pad 5: Screenrecorder-2023-10-30-18-48-26-217.mp4here is some more information: Xiaomi pad 5: Screenrecorder-2023-10-30-21-12-02-144.mp4I saved the mesh when it took the correct shape and then I tried assigning the mesh to CSGMesh3D many times. As a result, the mesh that was in CSGMesh3D was constantly changing. Screenrecorder-2023-10-30-21-37-44-227.mp4 |
Godot version
4.1.stable
System information
Android13
Issue description
I'm trying to import the obj model file on Android but there seems to be some compatibility issues? You can do two tests on both the computer and the mobile side to make sure what I'm saying is true.
Steps to reproduce
Create an obj file and import it into the Godot engine on Android.
Minimal reproduction project
test.zip
The text was updated successfully, but these errors were encountered: