YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
15 stars 7 forks source link

In-Game: [iOS] iOS 17.4+ simulators cannot run projects, causing submission issues #6172

Open tristannottelman opened 3 weeks ago

tristannottelman commented 3 weeks ago

Description

The app is crashing after showing the splash screen. On debug mode, an error EXC_BAD_ACCESS is shown, but on production the app immediately closes.

I've tested this on iOS 17.2 and it works just fine. Using an older version of GameMaker with iOS 17.4+ also has this issue.

Apple reviewers have encountered the same issue, which is impacting our app review process and release schedule.

Expected Change

The app should launch and run without crashing.

Steps To Reproduce

  1. Start GameMaker
  2. Build empty project for iOS
  3. Open Xcode
  4. Build & run on emulator with iOS 17.4+
  5. See the issue

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

2024.4.1 (Monthly)

Which operating system(s) are you seeing the problem on?

macOS Sonoma

Which platform(s) are you having trouble building this project for?

iOS

Are you running GameMaker from inside your Steam library?

Yes

Contact Us Package Attached?

Sample Project Added?

JujuAdams commented 3 weeks ago

Could you clarify if this issue is only occurring in an emulator or is also occurring on actual hardware?

tristannottelman commented 3 weeks ago

@JujuAdams The crash is occurring only in the emulator. I have tested it on an iPad with iOS 17.5, and it works fine there. However, this issue prevents us from passing Apple's review process, as they also encounter the crash in their testing environment.

JujuAdams commented 3 weeks ago

womp womp, thanks for confirming.

arashmoknat commented 2 weeks ago

Is there any update on this? I'm also having this error on device. I tried making a small sample project to replicate it but I couldn't. Don't know if it's useful but here's where Xcode breaks after a while after the app has hanged. Screenshot 2024-06-14 at 19 10 18

tristannottelman commented 1 week ago

There is a workaround to get your app through the Apple review process here. Unfortunately, no update on the simulator crash.

YYDan commented 1 week ago

Going by the GMC thread in the last comment, this is potentially an issue with using an old(er) release of one/more of our extensions and not actually a bug to fix now?

tristannottelman commented 1 week ago

@YYDan Updating some extensions helped with getting through the review process, but the simulator crash still occurs. This issue also happens on an empty project, so it seems that the bug still exists independently of the extensions used.

YYDan commented 1 week ago

Ahh, got it. Thanks for clarifying a blank new project does the same.

arashmoknat commented 1 week ago

Our problem seems to be a different crash. I'll go ahead and make another issue for it.

rwkay commented 1 week ago

Taking a look to see what the internet is saying it looks like Apple have broken it - https://forums.developer.apple.com/forums/thread/756598.

I am having a look but it would appear that Apple have broken the OpenGL implementation on the Simulator that is working fine on devices. Which is a bit weird as the OpenGL on iOS sits on top of Metal...

We are looking into what can be done but it will not be in the 2024.6 timeframe.

rwkay commented 1 week ago

I have checked on iOS 18 Beta Simulator and everything is working properly there... I am hopeful that Apple will fix the issue on the iOS 17 Simulator.... at some point