omchiii / model_viewer_plus.dart

A Flutter widget for rendering interactive 3D models in the glTF and GLB formats.
https://pub.dev/packages/model_viewer_plus
Apache License 2.0
83 stars 48 forks source link

Project example not working on Android emulator. Blank page and message: updateAcquireFence: Did not find frame #107

Closed jossErnesto closed 2 months ago

jossErnesto commented 2 months ago

When running the project example I got and blank page and this message many times: D/EGL_emulation( 8873): app_time_stats: avg=18.91ms min=5.21ms max=37.62ms count=53 E/FrameEvents( 8873): updateAcquireFence: Did not find frame. D/EGL_emulation( 8873): app_time_stats: avg=29.84ms min=14.96ms max=52.92ms count=34 E/FrameEvents( 8873): updateAcquireFence: Did not find frame. D/EGL_emulation( 8873): app_time_stats: avg=10.52ms min=4.34ms max=28.60ms count=58 E/FrameEvents( 8873): updateAcquireFence: Did not find frame. D/EGL_emulation( 8873): app_time_stats: avg=17.24ms min=8.81ms max=34.38ms count=58 E/FrameEvents( 8873): updateAcquireFence: Did not find frame. D/EGL_emulation( 8873): app_time_stats: avg=32.82ms min=16.50ms max=59.61ms count=31 E/FrameEvents( 8873): updateAcquireFence: Did not find frame.

Expected behavior See the example model running on Android.

Screenshots image

Android version: 13

jossErnesto commented 2 months ago

After some tests, I realized project example only works on real device, but not on emulator. Why? Well, this means I need to use a real device from now on whenever I wanna test a 3D model.