LoadLevel Errors
Posted: Sat Feb 10, 2018 5:52 am
Hello,
I'm having some odd issues this morning. When loading a level via LoadLevel() today the game hangs and the error appears to be when syncing the AdventureCreator variables to the DS LUA table.
NullReferenceException: Object reference not set to an instance of an object
PixelCrushers.DialogueSystem.AdventureCreator.AdventureCreatorBridge.SyncVariablesToLua () (at Assets/Dialogue System/Third Party Support/Adventure Creator/Scripts/AdventureCreatorBridge.cs:370)
PixelCrushers.DialogueSystem.AdventureCreator.AdventureCreatorBridge.SyncAdventureCreatorToLua () (at Assets/Dialogue System/Third Party Support/Adventure Creator/Scripts/AdventureCreatorBridge.cs:355)
PixelCrushers.DialogueSystem.SequencerCommands.SequencerCommandAC.OnDestroy () (at Assets/Dialogue System/Third Party Support/Adventure Creator/Scripts/Sequencer Commands/SequencerCommandAC.cs:111)
Line 370;
public void SyncVariablesToLua()
{
370 SyncVarListToLua(AC.KickStarter.runtimeVariables.globalVars, true);
SyncVarListToLua(AC.KickStarter.localVariables.localVars, false);
}
I'll update this post if I manage to resolve this issue but I'm not entirely sure what is causing it, I've created a few new global variables in AC but have done this no differently than I have done previously.
Cheers
I'm having some odd issues this morning. When loading a level via LoadLevel() today the game hangs and the error appears to be when syncing the AdventureCreator variables to the DS LUA table.
NullReferenceException: Object reference not set to an instance of an object
PixelCrushers.DialogueSystem.AdventureCreator.AdventureCreatorBridge.SyncVariablesToLua () (at Assets/Dialogue System/Third Party Support/Adventure Creator/Scripts/AdventureCreatorBridge.cs:370)
PixelCrushers.DialogueSystem.AdventureCreator.AdventureCreatorBridge.SyncAdventureCreatorToLua () (at Assets/Dialogue System/Third Party Support/Adventure Creator/Scripts/AdventureCreatorBridge.cs:355)
PixelCrushers.DialogueSystem.SequencerCommands.SequencerCommandAC.OnDestroy () (at Assets/Dialogue System/Third Party Support/Adventure Creator/Scripts/Sequencer Commands/SequencerCommandAC.cs:111)
Line 370;
public void SyncVariablesToLua()
{
370 SyncVarListToLua(AC.KickStarter.runtimeVariables.globalVars, true);
SyncVarListToLua(AC.KickStarter.localVariables.localVars, false);
}
I'll update this post if I manage to resolve this issue but I'm not entirely sure what is causing it, I've created a few new global variables in AC but have done this no differently than I have done previously.
Cheers