Our project is using 2022.3 with Muse 1.0.0-pre.3 for Sprite and Texture. Since I installed muse, I cannot build the game anymore.
It seems like when I build the game, Unity is trying to compile Muse for the build, but some code that should be in an editor folder is not and it return the following compilation error:
“Library\PackageCache\com.unity.muse.common@1.0.0-pre.2\Runtime\Account\AccountUtility.cs(57,18): error CS0103: The name ‘UnityConnectUtils’ does not exist in the current context”
This code is definitly suppose to be only used in editor, but it is not in an editor folder. The specific line of the error is an account validation to make sure the user is subscribe to Muse so really nothing related to the game itself. Is it a mistake in the package of muse ? Is there a way to just tell Unity to not include Muse at all when building the game ? Muse is mainly an editor tool, it shouldn’t impact building the game.
Hi @alex534,
Thank you for reporting the issue. I’ll create a ticket. It is a bug on Muse side, as it’s an editor package, it should not be included in the build. Unfortunately, I think you will need to remove the Muse packages from the project before building. I’m sorry for the issue
I was happy to try out Muse in our 2D game currently in production at No Deadlines studios. My goal was to see how effective it is and if it’s scalable to a real project. We just received a one month free trial and watched the different showcases on Unity’s Youtube so the timing was perfect to finally try it.
But preventing us from building the game is a deal breaker right now. I will need to remove the package and I will lose my trial probably since this won’t be fixed soon. If you can do anything about that, it would be great.
Thank you again for your response. Have a great day.
Hi @alex534,
We just released a patch version for Muse Texture with a fix for the build. Can you update the Muse Texture package to 1.0.0-pre.3
I hope it works and that you can enjoy Muse for the remaining of your trial