AppLovin / AppLovin-MAX-Unity-Plugin

127 stars 35 forks source link

Scene FBSceneManager/sceneID:com.AppLovin.MaxDemoUnity-default update failed #351

Closed pytachok closed 3 weeks ago

pytachok commented 7 months ago

MAX Plugin Version

6.3.1

Unity Version

2020.3.14

Device/Platform Info

IOS 13-17

Current Behavior

I've been facing a problem for the last few days. With any actions with Applovin, the build is successful, but the game crashes on all devices. There is little information in the logs and there is only one thing that you can pay attention to.

Scene FBSceneManager/sceneID:com.AppLovin.MaxDemoUnity-default update failed: <NSError: 0x600000e0ea90; domain: FBSceneErrorDomain; code: 1 ("operation-failed"); "Scene update failed."> { NSUnderlyingError = <NSError: 0x600000e0f2a0; domain: FBWorkspaceScene; code: 1; "Client process exited.">; }

Expected Behavior

image

How to Reproduce

https://drive.google.com/file/d/1WYGb858qiGbxEGHFHcBMgekctDnLwzb6/view?usp=sharing

!/bin/bash

cd /Users/pyt/Desktop/IOS/IOS_BUILD; sudo pod update --allow-root; sudo chown -R pyt ./*; sudo open -a Xcode Unity-iPhone.xcworkspace;

Additional Info

No response

nadir500 commented 3 weeks ago

any fixes yet? I am facing the same problem also and its preventing the app from launching.

applovinAsh commented 3 weeks ago

@nadir500 - Can you provide the verbose logs from the start of a session to when the issue occurs? To enable verbose logs, see here: https://developers.applovin.com/en/max/faq/how-to-enable-verbose-logging-in-the-applovin-sdk

nadir500 commented 3 weeks ago

Hi @applovinAsh I reinstalled Applovin 13.0 in my unity project after I was on old version and the error from Xcode changed into an issue in current Google Ads manager which has to be set to 11.5 and FBAudience Network. this is the current error I am getting: Undefined symbols:

  __swift_FORCE_LOAD_$_swiftXPC, referenced from:
      __swift_FORCE_LOAD_$_swiftXPC_$_FBAudienceNetwork  
  as I am on Xcode 15.2.
JonathanLiuApp commented 3 weeks ago

@nadir500 This is an issue we observed on Xcode version 15.2. If you upgrade to Xcode 15.4 that should fix your issue. https://github.com/AppLovin/AppLovin-MAX-Unity-Plugin/issues/437

nadir500 commented 3 weeks ago

Would there be a workaround instead of updating? I am on old MacOS and I am unable to attain this Xcode version currently.

JonathanLiuApp commented 3 weeks ago

Unfortunately, I wasn't able to find a workaround on 15.2, and I was only able to fix it after updating the Xcode version.

nadir500 commented 3 weeks ago

Ok so after I solved pod issues, I put Facebook adapter to 6.15 and Google ads to 11.5 in order to run on Xcode 15.2 And I am getting the same error as Scene FBSceneManager/sceneID:com.AppLovin.MaxDemoUnity-default update failed I enabled verbose mode but I am not able to see the logs as the docs said. And the app crashes instantly after seeing the main screen for fraction of a second.

applovinAsh commented 3 weeks ago

@nadir500, as @JonathanLiuApp mentioned before, please update your Xcode version to 15.4+.

pytachok commented 4 days ago

More than six months have passed, and I have returned to build my projects on iOS. Updated Xcode to 15.4. Updated Applovin and all adapters and got the same error on two projects again. image

TrueRaider commented 3 days ago

I have the same error on the release day. Unity 2022.3.52f1

applovinAsh commented 1 day ago

@pytachok, What AppLovin SDK Version and Facebook adapter version are you using? Are you still using the same version of Unity? You may want to update to try updating your Unity version to see if that fixes your issue.

pytachok commented 1 day ago

We managed to solve the problem by removing all facebook, firebase, applovin, appflyer and other. After that, installing everything again