You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using WebGL on iPad results in the sim crashing. The past 2 sims that I've worked on have both had this problem, where WebGL was enabled to take advantage of Sprites performance. See:
The workaround in both cases has been to disable WebGL on mobile Safari. For example, in FELSim.ts:
// WebGL is typically enabled for high-performance scenery.Sprites, which are used heavily by this sim.// On iPadOS, the sim consistently crashed when WebGL was enabled, and we were unable to determine why.// Disabling WebGL uses Canvas as the fallback for Sprites. The problem was not present on iOS, but we// have no way to differentiate between Safari on iPadOS vs iOS, so WebGL is disabled on both platforms.// See https://github.com/phetsims/faradays-electromagnetic-lab/issues/182.webgl: !platform.mobileSafari,
This seems like a problem that should be investigated and resolved with high priority, instead of continuing to disable WebGL on iPad.
The text was updated successfully, but these errors were encountered:
Using WebGL on iPad results in the sim crashing. The past 2 sims that I've worked on have both had this problem, where WebGL was enabled to take advantage of Sprites performance. See:
The workaround in both cases has been to disable WebGL on mobile Safari. For example, in FELSim.ts:
This seems like a problem that should be investigated and resolved with high priority, instead of continuing to disable WebGL on iPad.
The text was updated successfully, but these errors were encountered: