Skip to content
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

Phone freeze on opening Scene with imported 3D model [GLES2] #25365

Closed
sriedi7 opened this issue Jan 27, 2019 · 7 comments
Closed

Phone freeze on opening Scene with imported 3D model [GLES2] #25365

sriedi7 opened this issue Jan 27, 2019 · 7 comments

Comments

@sriedi7
Copy link

sriedi7 commented Jan 27, 2019

Godot version:
Godot 3.1 Beta 2 (GLES2)

OS/device including version:
Development:
OS: Windows 10
GPU: nVidia GeForce 520M

Test:
Asus Zenfone 5 (2014)
OS: Android
GPU: PowerVR SGX544MP2
GLES: 2.0.0

Issue description:

Just open project below, export, and install on android, play.
There are 3 scene in the game.
Scene C is a 3D scene with a box, plane, and environtment. This scene can be opened in my phone.
Scene A&B is the same as Scene C with addition an imported 3D model. It is a low poly model with skeletal animation. If i open this scene my phone freeze. The debugger not printing any error it just disconnected because my phone is freeze.

I also discover other issue while making this project.

  1. Texture with Video RAM compress mode wont export to Android APK.
  2. If you enable rim in the 3D material, the scene wont load (throw an error on remote debug)

is this expected behaviour?
If not then I'll make a separate issue.

Steps to reproduce:

  1. Open the project below
  2. Export Android
  3. Play
  4. Open Scene A or Scene B

Minimal reproduction project:

CharacterTest.zip

@akien-mga
Copy link
Member

akien-mga commented Jan 27, 2019

Texture with Video RAM compress mode wont export to Android APK.

You need to enable rendering/vram_compression/import_etc (and likely disable import_etc2) for GLES2, then reimport the assets (you can do it by deleting the res://.import folder). See #23650.

@akien-mga akien-mga changed the title Phone freeze on opening Scene with imported 3D model. Phone freeze on opening Scene with imported 3D model [GLES2] Jan 27, 2019
@akien-mga akien-mga added this to the 3.1 milestone Jan 27, 2019
@sriedi7
Copy link
Author

sriedi7 commented Jan 28, 2019

@akien-mga About the rim option, is it also expected? GLES2 dont support rim?

@akien-mga
Copy link
Member

About the rim option, is it also expected? GLES2 dont support rim?

I guess not, but it shouldn't prevent the scene from loading, so that would be worth a bug report.

@sriedi7
Copy link
Author

sriedi7 commented Feb 3, 2019

@akien-mga Already test the rim, now the scene can be loaded and displayed with Beta 3 but the mesh not rendered instead. Check my referenced issue.

@sriedi7
Copy link
Author

sriedi7 commented Feb 3, 2019

Also reporting that this issue still reproduced with Beta 3 build.

@reduz reduz closed this as completed in d79c8d7 Feb 23, 2019
@sriedi7
Copy link
Author

sriedi7 commented Mar 13, 2019

@reduz Unfortunately, this issue still reproduced in RC1 (haven't tried RC3 yet, will try it later), but instead of freeze my phone, it now crash the game.

@sriedi7
Copy link
Author

sriedi7 commented Mar 17, 2019

@reduz Today I tested it in Godot 3.1 stable it still crash, and if I test it several time in a row, sometimes it also freeze my phone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants