Home › Forums › WebGL & WebXR Troubleshooting › iOS issues
- This topic has 17 replies, 5 voices, and was last updated 6 months, 2 weeks ago by studiogijs.
-
AuthorPosts
-
2024-04-22 at 6:25 pm #72437studiogijsCustomer
Is anyone else experiencing issues with Verge3d on iOS?
We are facing major issues. Some devices just show a blank screen after loading, some get stuck.
Some phones like iphone 13 and 13 mini give a blank screen, an XR works ok, iphone 14 pro and 15 pro work well, all running 17.4.1After more testing and trying to optimize our app as much as possible, there is improvement, but it’s not very stable.
I don’t have large textures or shadow maps, nor large maps from shapekeysI also found that updating my iPad pro that was running the app quite well, from 16.5 to 17.4.1 made performance worse, and updating it to the latest 17.5 beta 2 makes it even worse.
Latest optimized code is https://v3d.net/v0l
Can anyone advise what to do, does the performance report of the above give any info on what we can do to improve?2024-04-22 at 7:02 pm #72438xeonCustomerWell…the performance report says tells you about how you should go about optimizing this further.
I have juste tested this on an a few iphones X through 15 and have similar results.
I would start by turning off your post processing effects and see if that doesn’t solve the problem….if it doesnt, I would take extreme measures to find the offending issue.
Extreme diagnostics
– remove lights – test ( you are better off baking the lighting in this scene as shown )
– remove all materials – apply basic material anmy two cents…based on your zoom level…this model should probably be under 10,000 polys or less total, geo buffers should be under 10, lights 0, hdr rendering – off, post processing -off, material and shaders should be less than 6 total.
You seem to have a lot of materials that are not used in this scene. I would recommend purging your scene of unused items.
consider consolidating your geo…it seems the only thing moving is the drawer and piston… they should be cloned for each location. The door hardware and door would be one item, the shock would be two items, the rest of the unit would be 1 item. Total of four pieces of geo..vs current 70
If you zip up your project and post and I am sure someone on here can help you out with specific detail.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-04-23 at 12:29 am #72443kdvParticipantI also found that updating my iPad pro that was running the app quite well, from 16.5 to 17.4.1 made performance worse, and updating it to the latest 17.5 beta 2 makes it even worse.
And that’s all you need to know about iOS updates after Jobs has gone…
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-04-23 at 6:16 am #72451studiogijsCustomerthanks, I am going to try out your suggestions and see what can be done.
Since the app is controlled by external website, I had turned off the controls, but you can now see the controls again on the link I sent.The project has been a bit of a moving target and is currently quite complex.
- This reply was modified 7 months, 4 weeks ago by studiogijs.
2024-04-23 at 6:27 am #72453xeonCustomerTo best help you…all we need is the project file zipped…we do not need the controls since they are not a factor in you v3d app loading. You can use V3D zip function and it will store it with your online assets. If you can include the 3D model file that would additionally helpful.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-04-23 at 3:33 pm #72469studiogijsCustomer@xeon thanks for having a look. The project file can be downloaded here
I turned off hdr rendering and removed the lights, that at least makes the app load again on phones that previously didn’t. I do not want to share the model here, but if I can send it to you directly that is fine.
- This reply was modified 7 months, 4 weeks ago by studiogijs.
2024-04-23 at 8:42 pm #72472xeonCustomerI will take a look at it at this evening (Pacific time). You can reach me at xeons3dlab[at]gmail[dotcom]
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-04-23 at 9:09 pm #72474studiogijsCustomer@xeon thanks for having a look, I sent you the project file + Blender file
- This reply was modified 7 months, 4 weeks ago by studiogijs.
2024-04-24 at 9:56 am #72490Alexander KovelenovStaff2024-04-24 at 12:49 pm #72491studiogijsCustomerIn the meantime I did make a few changes based on suggestions by @xeon, turning off the lights in the scene and turning off HDR rendering. Try opening the app in several tabs, and you will see it starts behaving badly. Or open the app in both safari and chrome at the same time.
I think it is likely to happen if a customer is going to open the app multiple times to compare several options, or maybe even inadvertantly because they leave the app open on one page and open the app again at some other point on a new page, but this is not sure of course. I’m happy to hear though that the app runs on phones you tried. Are these phones all on 17.4.1?
When the app is open on multiple pages/ browsers something is going wrong, and I don’t know what it is, which makes it hard to debug. Is it memory? What causes the model to turn black or loose context?
2024-04-24 at 1:45 pm #72492kdvParticipantMy old iPhone SE (with just 2 GB of RAM) is able to run your app in three tabs at the same time without reloading the page. if using four tabs one of them is being reloaded when opened again (out of memory).
Attachments:
You must be logged in to view attached files.Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-04-24 at 2:11 pm #72494studiogijsCustomerInteresting
I get a hang already on the third tab on iPhone 14 Pro with iOS 17.4.1What iOS are you running on that SE?
Attachments:
You must be logged in to view attached files.2024-04-24 at 2:14 pm #72496kdvParticipant12.5.x
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-04-24 at 3:22 pm #72497studiogijsCustomerthanks, that’s a clear sign that Apple is doing something very wrong in the latest iOS versions. In this thread:
https://forums.developer.apple.com/forums/thread/737042
someone states:According to our investigation the issue can be triggered by the usage of the flat qualifier.
No idea what that means though
2024-06-03 at 11:57 am #74516stellarParticipantHi!,
I have a problem with the application. We are in the process of creating a configurator for carports. Unfortunately, there is an issue because the application does not want to load on iPhones. Once every 20-30 times, it manages to load and works well, but in most cases, it loads, interrupts, and an error occurs. It doesn’t matter which browser we use, the error still appears. iPhone 14, iPhone 13 Pro… Please check where the cause of the errors might be.
-
AuthorPosts
- You must be logged in to reply to this topic.