Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows editor IOException when AppLovinInitialize runs #453

Open
jannekaisgg opened this issue Nov 22, 2024 · 1 comment
Open

Windows editor IOException when AppLovinInitialize runs #453

jannekaisgg opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jannekaisgg
Copy link

jannekaisgg commented Nov 22, 2024

MAX Plugin Version

8.0.0

Unity Version

2022.3.21f1

Device/Platform Info

Windows Editor

Current Behavior

Whenever the AppLovinInitialize method is run on Windows editor the following exception happens. We are using the Unity package manager integration. This issue doesn't happen on Mac editor. The followup from this is that we see all kinds of runtime errors afterwards if trying to run on Editor.

System.IO.IOException: Cannot create 'C:\Users\driazantcev\Documents\GitHub\EmpiresClient\Library\PackageCache\[email protected]\Scripts\MaxSdk.cs' because a file or directory with the same name already exists.
  at System.IO.FileSystem.CreateDirectory (System.String fullPath) [0x00145] in <4b234520e36749be9cf6b053d911690f>:0 
  at System.IO.Directory.CreateDirectory (System.String path) [0x0002c] in <4b234520e36749be9cf6b053d911690f>:0 
  at AppLovinMax.Scripts.IntegrationManager.Editor.AppLovinIntegrationManager.MovePluginFiles (System.String fromDirectory, System.String pluginRoot, System.Boolean isPluginInPackageManager) [0x00057] in .\Library\PackageCache\[email protected]\Scripts\IntegrationManager\Editor\AppLovinIntegrationManager.cs:495 
  at AppLovinMax.Scripts.IntegrationManager.Editor.AppLovinIntegrationManager.MovePluginFilesIfNeeded (System.String pluginParentDirectory, System.Boolean isPluginInPackageManager) [0x00027] in .\Library\PackageCache\[email protected]\Scripts\IntegrationManager\Editor\AppLovinIntegrationManager.cs:469 
  at AppLovinMax.Scripts.IntegrationManager.Editor.AppLovinInitialize..cctor () [0x001f9] in .\Library\PackageCache\[email protected]\Scripts\IntegrationManager\Editor\AppLovinInitialize.cs:92 


Expected Behavior

No response

How to Reproduce

Launch Unity Editor on Windows with Applovin 8.0.0 integrated through unity package manager.

Reproducible in the demo app?

Not Tested

Additional Info

No response

@jannekaisgg jannekaisgg added the bug Something isn't working label Nov 22, 2024
@JonathanLiuApp
Copy link
Contributor

@jannekaisgg This should be fixed in version 8.0.1. Could you try updating and see if that fixes your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants