AppLovin / AppLovin-MAX-Unity-Plugin

127 stars 35 forks source link

Can not make a standalone windows build #364

Closed hoainam1593 closed 6 months ago

hoainam1593 commented 7 months ago

MAX Plugin Version

6.4.3

Unity Version

2022.3.17

Device/Platform Info

not applicable

Current Behavior

when I make a standalone windows build, I get a syntax error: Assets\MaxSdk\Scripts\MaxSdkUnityEditor.cs(1401,26): error CS0117: 'MaxEventExecutor' does not contain a definition for 'Instance'

Expected Behavior

No response

How to Reproduce

Additional Info

No response

santoshbagadi commented 7 months ago

Hi @hoainam1593 , thank you for raising the issue. We are going to release a for this in an upcoming release.

In the mean time you can apply the fix by updating this line in Assets/MaxSdk/Scripts/MaxEventExecutor.cs to #if UNITY_EDITOR || !(UNITY_ANDROID || UNITY_IPHONE || UNITY_IOS).

cemtuver-applovin commented 6 months ago

Hi @hoainam1593, we have released a version of our Unity plugin (6.4.4) which addresses this issue. Could you please try updating your MAX Unity Plugin?