Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.5.0
Issue ID
MARS-1480
Regression
Yes
Simple Platformer MARS Template freezes on iPhone
+Synopsis+
The PlatformerSimple scene from the Mars Template that the Mars Tutorial references freezes on iPhone 13, probably on the first frame. After accepting the camera permission dialog, the app displays just the camera background image from wherever the phone was pointed at app start-up.
+Workaround+
The freeze does not occur after moving the project to AR Foundation 4.2.6.
+How to See the Bug+
Purge your package cache.
Open the MarsTutorial project (see link in Comments).
Open the PlatformerSimple scene.
Build settings > iOS > Switch platform.
Build and Run on iPhone.
After the Unity logo vanishes, give the app camera permissions via the dialog.
The app gets stuck on one frame of camera background.
+Xcode Errors+
See attached for the Xcode log. Here is an excerpt:
[Subsystems] Failed to initialize subsystem ARKit-Meshing [error: 1]
New input system (experimental) initialized
2022-09-22 11:54:04.103659-0700 MarsTutorial[436:9738] fopen failed for data file: errno = 2 (No such file or directory)
+Repro Project+
The repro project is just the simple platform MARS Template with the following change to avoid a Console error:
Put colliders on all walkable surfaces > Surfaces that can fit character > Mesh Collider > Cooking Options = Everything
+Configurations+
Mac mini M1
Unity 2021.3.10f1 Silicon
Built-in RP
AR Foundation 4.2.3
MARS 1.5.0-preview.1
iPhone 13
Occurs on iOS 15.6.1 and 15.7
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text Object position shifts when selecting multiple Text Objects and expanding the Extra Settings in the Inspector
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
- Shadows flicker and cause visual artifacts when modifying a GameObject's bounds using Swizzle (Y Mask) and Sine Time nodes
- [WebGL] Frame rate drops by 5-20 fps when moving cursor or touch input in the Player
Resolution Note:
Is fixed using 4.2.6 packages