I'm not sure what happened or what box I ticked, but now I'm not able to load into a scene with the player.
The main menu works fine and then when I hit load game it tries to load the scene but then freezes with the scene greyed out.
I don't get any error codes or anything. I have to kill Unity through the task manager. And my editor log doesn't show a crash log.
Can't figure out what is or how to debug this.
Currently making: Real-Time Diablo-like ARPG
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Now, the scene loads but the player doesn't and I get this error code.
[Exception] NullReferenceException: Object reference not set to an instance of an object
CombatantNotification.UpdateContent() at <09b3c54cee6449208013332cf7b08bfe>:0
CombatantNotification.Show() at <09b3c54cee6449208013332cf7b08bfe>:0
Group.Join() at <09b3c54cee6449208013332cf7b08bfe>:0
Combatant.BaseInit() at <09b3c54cee6449208013332cf7b08bfe>:0
CombatantSetting.Create() at <09b3c54cee6449208013332cf7b08bfe>:0
CombatantAccessHandler.CreateInstance() at <09b3c54cee6449208013332cf7b08bfe>:0
JoinGroupNode.Execute() at <09b3c54cee6449208013332cf7b08bfe>:0
Schematic.ExecuteNextNode() at <7e47579de1554be6a52fb3ca45f63bd9>:0
Schematic.Start() at <7e47579de1554be6a52fb3ca45f63bd9>:0
Schematic.PlaySchematic() at <7e47579de1554be6a52fb3ca45f63bd9>:0
Schematic.Play() at <7e47579de1554be6a52fb3ca45f63bd9>:0
GameHandler.CallStartSchematic() at <09b3c54cee6449208013332cf7b08bfe>:0
GameHandler.NewGame() at <09b3c54cee6449208013332cf7b08bfe>:0
GameHandler.NewGame() at <7e47579de1554be6a52fb3ca45f63bd9>:0
ORKGameStarter.UseStartOptions() at <09b3c54cee6449208013332cf7b08bfe>:0
GameStarter.LoadProject() at <7e47579de1554be6a52fb3ca45f63bd9>:0
GameStarter.Awake() at <7e47579de1554be6a52fb3ca45f63bd9>:0
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
That's the one that's bugged because it comes too early, before the combatant joined the group so info is not yet available.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
When I check the editor log this is the at the end.
0 - Default (GamingIsLove.ORKFramework.ConsoleTypeAsset):
Player - Hooded Man joins the group.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
GamingIsLove.ORKFramework.ConsoleHandler:AddLine (string,GamingIsLove.ORKFramework.ConsoleTypeAsset)
GamingIsLove.ORKFramework.ConsoleTextCombatant:Print (GamingIsLove.ORKFramework.Combatant)
GamingIsLove.ORKFramework.Group:Join (GamingIsLove.ORKFramework.Combatant,bool,bool)
GamingIsLove.ORKFramework.Combatant:BaseInit (GamingIsLove.ORKFramework.CombatantSetting,GamingIsLove.ORKFramework.Group,bool,bool,bool)
GamingIsLove.ORKFramework.CombatantSetting:Create (GamingIsLove.ORKFramework.Group,bool,bool)
GamingIsLove.ORKFramework.CombatantAccessHandler:CreateInstance (GamingIsLove.ORKFramework.CombatantSetting,GamingIsLove.ORKFramework.Group,bool,bool,int,int,GamingIsLove.ORKFramework.Class,bool,bool,bool,bool,bool,bool)
GamingIsLove.ORKFramework.Schematics.Nodes.JoinGroupNode:Execute (GamingIsLove.Makinom.Schematics.Schematic)
GamingIsLove.Makinom.Schematics.Schematic:ExecuteNextNode ()
GamingIsLove.Makinom.Schematics.Schematic:Start ()
GamingIsLove.Makinom.Schematics.Schematic:PlaySchematic (GamingIsLove.Makinom.Schematics.ISchematicStarter,object,object,bool,GamingIsLove.Makinom.MachineUpdateType,int)
GamingIsLove.Makinom.Schematics.Schematic:Play (GamingIsLove.Makinom.MakinomSchematicAsset,GamingIsLove.Makinom.Schematics.ISchematicStarter,object,object)
GamingIsLove.ORKFramework.GameHandler:CallStartSchematic ()
GamingIsLove.ORKFramework.GameHandler:NewGame (bool)
GamingIsLove.Makinom.GameHandler:NewGame (bool,bool)
GamingIsLove.ORKFramework.Components.ORKGameStarter:UseStartOptions ()
GamingIsLove.Makinom.Components.GameStarter:LoadProject (GamingIsLove.Makinom.MakinomProjectAsset)
GamingIsLove.Makinom.Components.GameStarter:Awake ()
It still seems to have an issue with the console.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Are you playing via the start menu or directly in a scene?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
That made that go error away. But, Unity still freezes when trying to load the player. I've tried both. If I try to load directly in a scene I'll get a series of nullrefs about the Interaction Machine. If I go to the Start menu, it goes through the new game menu and then freezes when loading the player.
If you get nullrefs when playing directly in the scene, you probably don't have a Game Starter in the scene. Check out the documentation on quick game testing.
Generally, there seems to be something strange going on in your project - it definitely works fine here. Can you send me a small Unity test project with your setup where it happens to contact@orkframework.com? E.g. delete the library folder from the Unity project to reduce it's size, upload it somewhere (dropbox, google drive, etc.) and send me the link :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!