When editing Behavior Graphs, when saving the graph or hopping back to unity editor the Behavior starts a compilation that leads into a loop and a debbugind message related to BehaviorGraph.OnAfterDesserialize();
Sometimes the issue persists even when closing and reopening unity, leading to the graph window being open on editor start, and the same compilation loops happen
Unity 6000.0.30f1
Compilation Loop - The same erros repeat after every compilation
Seems like you’ve got a case where a graph module in graph asset is null. Not sure how this could have happened.
Could you try to delete the runtime asset of your graph? (You will need to reassigned the graph to your agents). Let us know if that solves the issue please.
edit: After deleting by windows explorer one of the subgraphs that was used on this graph on project folder i could open the project again and delete the main graph runtime assets
I’ll let you know if it the bug happens again, thanks!
Thank you for the details, in case this is happening again, could you share with us the culprit graph assets?
I believe this is the first time this issue is reported, if you have any more insight about what step you might have taken to get into that state, please feel free to share more here
After deleting all old Muse.Behavior graphs all the console errors are gone, I already deleted all old muse custom actions and I am currently working on “porting” then to the new behavior version since they were incompatible, so I think maybe the issue was related to upgrading the project from Unity 2022.3.6 to unity 6 and keeping the old muse behavior graphs and leading behavior to manipulate this old .asset files.
Hope this is usefull! as said I will keep you informed!
Thanks again
Behavior had a big backend overhaul for 1.0, especially around graph asset and blackboard, so we highly recommend recreating graphs that was made using Muse Behavior.
We didn’t had time to implement a proper upgrade path for the assets and some underlying data might still be corrupted.