Open ysypnbh opened 4 days ago
The fact that it crashes is because of the scale factor of your phone. It has a high dpi, and Bevy use that to multiply the texture size which gives in your case something bigger than what your phone GPU supports.
This is a long standing Bevy bug that I thought was fixed, and will changed from phone to phone.
By default, Bevy tries to display in a 1280x720 canvas, which on your phone means a 4480x2520, so you have a 3.5 scale factor. As the maximum texture size is 4096, you can try to change the window size in Bevy on init to be at most 1170 pixel width.
Should the solution be to use the maximum size texture and scale it, or to use two textures, or something else?
https://bevyengine.org/examples/3d-rendering/3d-scene/
This is my actual machine demonstration. Please tell me how to solve it. I also want to write a demo that can be displayed on mobile phones.
If you look at it from the browser's debugging page, it's normal, but I don't know why the progress bar doesn't disappear.
It's the same with 2D