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

Package: MARS

-

+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

 

  1. Resolution Note:

    Is fixed using 4.2.6 packages

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.