I just installed the Behavior package and got an error on compliation. I have just added it to the project, I have not implemented any part yet. This is the error I’m getting:
Assets\MuseBehaviorIL2CPPTypes.cs(9,3): error CS0122: ‘TypedVariableModel’ is inaccessible due to its protection level
Any help would be greatly appreciated! Thank you!
Tim
Hi @thubbardnd, I’m sorry about this error! I’m aware of it and I’m working on a fix (either tomorrow or early next week). To my knowledge this only happens in IL2CPP builds, so you could try turning off IL2CPP for a bit. I’m hoping to get the fix out next week.
I can confirm Muse Behavior 0.5.6 builds on 2023.2.2 with IL2CPP backend. Doesn’t run Behavior in WebGL Build, though it does build and launch. Tutorial project lists PC & Mac, will Muse-Behavior eventually be compatible with WebGL?
I’ve come across a couple items that aren’t specific to this topic, what is the best way to bring them up? I know I’ve already made a post on the tutorial project, but I’ve installed the package in my own project (again) to try to implement it. Are bug reports better, or new topics in this discussion board for each type of problem?
Please feel free to start threads about the issues and I’ll look! Bug reports are also welcome, although this will be new for us to get them through the editor bug report so the discussions page might be faster right now
I’m sorry the WebGL build isn’t working. Is it the example project, the tutorial, or something else? Any specific errors?
My own project. I added Quantum Console to see logs at playtime, it doesnt look like there are any at runtime. Console does have a warning after launching Build and Run:
Saving has no effect. Your class ‘UnityEditor.WebGL.HttpServerEditorWrapper’ is missing the FilePathAttribute. Use this attribute to specify where to save your ScriptableSingleton.
Only call Save() and use this attribute if you want your state to survive between sessions of Unity.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun
Single node graph with patrol node. On WebGL build, game object does not move.