Code: Select all
Dialogue System: Lua code '{"scene":1,"position":{"x":4.323111057281494,"y":0.6873067617416382,"z":0.0},"rotation":{"x":0.0,"y":0.7074729800224304,"z":0.0,"w":0.7067404389381409}}' threw exception 'Code has syntax errors:
Line 1, Col 1 '{': Failed to parse Letter of Name.
Line 1, Col 1 '{': Failed to parse Name of VarName.
Line 1, Col 1 '{': Failed to parse 'nil' of NilLiteral.
Line 1, Col 1 '{': Failed to parse Text of BoolLiteral.
Line 1, Col 1 '{': Failed to parse '0'...'9' of Digit.
Line 1, Col 1 '{': Failed to parse (Digit)+ of FloatNumber.
Line 1, Col 9 ':': Failed to parse '}' of TableConstructor.
Line 1, Col 1 '{': Failed to parse Name of VariableArg.
Line 1, Col 1 '{': Failed to parse firstTerm of OperatorExpr.
Line 1, Col 1 '{': Failed to parse Expr of ExprStmt.
Line 1, Col 1 '{': Failed to parse remaining input.
'
UnityEngine.Debug:LogError (object)
PixelCrushers.DialogueSystem.Lua:RunRaw (string,bool,bool) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Lua/Lua Wrapper/Lua Interpreter/Lua.cs:252)
PixelCrushers.DialogueSystem.Lua:Run (string,bool,bool) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Lua/Lua Wrapper/Lua Interpreter/Lua.cs:131)
PixelCrushers.DialogueSystem.Lua:Run (string,bool) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Lua/Lua Wrapper/Lua Interpreter/Lua.cs:141)
PixelCrushers.DialogueSystem.PersistentDataManager:ApplyLuaInternal (string,bool) (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Save System/PersistentDataManager.cs:263)
PixelCrushers.DialogueSystem.DialogueSystemSaver:ApplyDataImmediate () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Save System/DialogueSystemSaver.cs:81)
PixelCrushers.SaveSystem:ApplyDataImmediate () (at Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs:1018)
PixelCrushers.SaveSystem/<LoadSceneCoroutine>d__135:MoveNext () (at Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs:992)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
Is there any way to resolve this issue?