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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Is fixed using 4.2.6 packages