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

Support for multiple editor instances (Multiplayer Playmode) #182

Open
RyanGarber opened this issue Sep 4, 2023 · 0 comments
Open

Support for multiple editor instances (Multiplayer Playmode) #182

RyanGarber opened this issue Sep 4, 2023 · 0 comments

Comments

@RyanGarber
Copy link

Unity now has an official multiplayer mode, which launches multiple editor instances. This feature is trivially easy to support -- the only issue when using it is that Acoustics attempts to delete the "old" cached ace file, but it's in use. Specifically, this line:

void InitAcoustics()
{
    ...
    var dataPath = System.IO.Path.Combine(Application.temporaryCachePath, AceFile.name);
    ...
}

By simply adding a suffix to the file, there's no more conflict. You could even simply expose an option for the user -- SetCachePath() or SetCacheId().

@RyanGarber RyanGarber changed the title Support for Multiple Editor Instances (Multiplayer Playmode) Support for multiple editor instances (Multiplayer Playmode) Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant