Unable to load correctly.

Announcements, support questions, and discussion for the Dialogue System.
fuakda
Posts: 27
Joined: Fri Sep 01, 2023 12:32 am

Re: Unable to load correctly.

Post by fuakda »

Switching from A scene to A scene did not move you to the spawn point.
Moved from B scene to A scene to the spawn point.

The problem is that states such as player collisions and controller attachments are not loaded.
I'll start over again from the beginning.

SaveSystem.RestartGame(startingSceneName)
When executed, multiple object attachments disappear.
UI joystick, inventory, etc.

I want to load everything after moving the scene, but how do I do this?
Or is it being done?
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to load correctly.

Post by Tony Li »

If the UI joystick, inventory, etc., are set to Don't Destroy On Load, do not assign them directly to the player. Please see this post for an explanation with screenshots.
fuakda
Posts: 27
Joined: Fri Sep 01, 2023 12:32 am

Re: Unable to load correctly.

Post by fuakda »

Many thanks for the advice.
I've been reviewing the settings and I feel like I'm making some progress.

The quest status will be deleted when changing scenes.

I was reviewing my save and came across a mysterious error.
What solution is there?

Image
Attachments
スクリーンショット 2024-02-20 225957.png
スクリーンショット 2024-02-20 225957.png (13.21 KiB) Viewed 460 times
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to load correctly.

Post by Tony Li »

Hi,

Please click on one of those messages. Then press Ctrl+C to copy its details to the clipboard. Then paste the details into a reply here.
fuakda
Posts: 27
Joined: Fri Sep 01, 2023 12:32 am

Re: Unable to load correctly.

Post by fuakda »

Dialogue System: Lua code '{"m_SaveDataKeys":["Player_Opsive.UltimateInventorySystem.SaveSystem.InventorySaver_skybee","Player_Opsive.UltimateInventorySystem.SaveSystem.ItemViewSlotsContainerSaver_skybee","Player_Opsive.UltimateInventorySystem.SaveSystem.CurrencyOwnerSaver_skybee","My Inventory Grid_Opsive.UltimateInventorySystem.SaveSystem.InventoryGridSaver_skybee","Game_Opsive.UltimateInventorySystem.SaveSystem.InventorySystemManagerItemSaver_skybee"],"m_SerializedSaveData":[{"m_ObjectType":"Opsive.UltimateInventorySystem.SaveSystem.InventorySaver+InventorySaveData","m_ValueHashes":[],"m_LongValueHashes":[8072445197398070336,290266664805250003,-5629491448861630792,-1049081329255228629,-4435255211992037971,-5629491448861630419,-1049081329255342662,-4435255211992218820,-5629491448861629534,-1049081329258907063,-4435255211988376369,-5629491448861629161,-1049081329259021096,-4435255211988491682,-5629491448861629308,-1049081329259095865,-4435255211988564415,-5629491448861628679,-1049081329259378602,-4435255211988314416,-5629491448861628306,-1049081329258444059,-4435255211988954013,-5629491448861627421,-1049081329258596492,-4435255211988653582,-5629491448861627056,-1049081329257923229,-4435255211989490715,-5629491448861627195,-1049081329258785294,-4435255211988776076,-5629491448861626822,-1049081329257851007,-4435255211989415673,-5629491448861625937,-1049081329258269680,-4435255211989374314,-5629491448861625572,-1049081329257334241,-4435255211989949287,-5629491448861625711,-1049081329257409874,-4435255211990021080,-5629491448861625338,-1049081329257523907,-4435255211990135877,-5629491448861624709,-1049081329257806644,-4435255211989886390,-5629491448861623832,-1049081329294658373,-4435255211894166979,-5629491448861623459,-1049081329294772406,-4435255211893757492,-5629491448861623598,-1049081329294848039,-4435255211893829281,-5629491448861623225,-1049081329294966168,-4435255211893875474,-5629491448861622348,-1049081329294331305,-4435255211894362927,-5629491448861621975,-1049081329294445338,-4435255211894478240,-5629491448861622114,-1049081329294258827,-4435255211894287373,-5629491448861621741,-1049081329293586684,-4435255211895123582,-5629491448861620864,-1049081329293737997,-4435255211894824587,290266664805249348,-5629491448860841603,-1049081332289753430,-4435255209519960020,-5629491448860841742,-1049081332289566919,-4435255209519769153,-5629491448860841369,-1049081332289652280,-4435255209519929522],"m_ValuePositions":[0,4,8,8,12,16,16,20,24,24,28,32,32,36,40,40,44,48,48,52,56,56,60,64,64,68,72,72,76,80,80,84,88,88,92,96,96,100,104,104,108,112,112,116,120,120,124,128,128,132,136,136,140,144,144,148,152,152,156,160,160,164,168,168,172,176,176,180,184,184,188,192,192,196,200,200,204,208,212,212,216,220,220,224,228,228,232],"m_Values":[2,0,0,0,25,0,0,0,110,36,105,136,10,0,0,0,20,118,53,166,1,0,0,0,24,118,117,212,1,0,0,0,182,130,194,100,1,0,0,0,102,243,42,34,1,0,0,0,33,118,82,54,1,0,0,0,99,186,206,111,1,0,0,0,187,46,52,244,1,0,0,0,133,145,236,4,1,0,0,0,81,162,131,73,1,0,0,0,89,237,14,93,1,0,0,0,149,65,49,197,1,0,0,0,74,186,72,160,1,0,0,0,142,227,47,125,1,0,0,0,140,167,169,112,1,0,0,0,61,203,118,231,231,3,0,0,35,198,246,96,1,0,0,0,229,247,18,208,1,0,0,0,94,83,169,224,1,0,0,0,235,57,184,165,1,0,0,0,145,51,51,148,1,0,0,0,168,178,189,87,1,0,0,0,78,82,15,156,1,0,0,0,118,137,225,249,1,0,0,0,151,33,79,118,1,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,123,86,167,200,1,0,0,0],"m_UnityObjects":[],"m_Version":"3.2"},{"m_ObjectType":"Opsive.UltimateInventorySystem.SaveSystem.ItemViewSlotsContainerSaver+ItemViewSlotsContainerSaveData","m_ValueHashes":[],"m_LongValueHashes":[2999402542728031160,8549933748356830963,-6250497149126065485,6045080479577263345,6982361014985181538,880356136432974846,1994411003133071478,8549933748356830308,-6250497149129995408,6045080489559810006,6982361039194610245,880356121048426713,1994411003132811701],"m_ValuePositions":[0,4,4,4,8,12,16,20,20,20,24,28,32],"m_Values":[2,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,1,0,0,0],"m_UnityObjects":[],"m_Version":"3.2"},{"m_ObjectType":"Opsive.UltimateInventorySystem.SaveSystem.CurrencyOwnerSaver+CurrencyOwnerSaveData","m_ValueHashes":[],"m_LongValueHashes":[7077014640210997644,8987750351410446403,4954858423973289876,8629202038996795666],"m_ValuePositions":[0,4,4,8],"m_Values":[1,0,0,0,148,255,171,31,9,0,0,0],"m_UnityObjects":[],"m_Version":"3.2"},{"m_ObjectType":"Opsive.UltimateInventorySystem.SaveSystem.InventoryGridSaver+InventoryGridSaveData","m_ValueHashes":[],"m_LongValueHashes":[5289233105381073722,4349740836062607947,6017765484516418763,3040235506890087083,5117440817104222281,8360626755798007258,1789928893304606534,-7431711388874454930,6017765484516420222,3040235506889552130,5117440817886946172,8360626755502860015,1789928893546337395,-7431711388873972793,6017765484516420065,3040235506889483657,5117440817922790931,8360626755534115712,1789928893586252060,-7431711388873902260,6017765484516421524,3040235506889022688,5117440817401111558,8360626755280871829,1789928894006219529,-7431711388873454043,6017765484516420871,3040235506889279423,5117440817860468821,8360626755476383174,1789928893656700762,-7431711388873714310,6017765484516420746,3040235506889295462,5117440817862758216,8360626755474082523,1789928893663066183,-7431711388873665373,6017765484516422205,3040235506888768765,5117440817635718975,8360626755247108780,1789928893838721072,-7431711388873183688,6017765484516422048,3040235506888696132,5117440817563890962,8360626755171086465,1789928893894820381,-7431711388873116799,6017765484516423507,3040235506884042707,5117440820074494289,8360626753399176386,1789928895737908830,-7431711388889445098,6017765484516423366,3040235506883978602,5117440819965158916,8360626753289905047,1789928895763353867,-7431711388889368657,6017765484516422729,3040235506884313425,5117440819832793595,8360626753421716584,1789928895894675188,-7431711388889656428,6017765484516424700,3040235506883531176,5117440819605979886,8360626753195034493,1789928896205370849,-7431711388888874131,6017765484516424047,3040235506883790151,5117440819637619837,8360626753230997998,1789928896106363762,-7431711388889131134,6017765484516425490,3040235506883254926,5117440819682037072,8360626753002588355,1789928896012925535,-7431711388888659893,6017765484516425349,3040235506883190821,5117440819716372999,8360626753032732564,1789928896053038344,-7431711388888583456,6017765484516424712,3040235506883529740,5117440819606457850,8360626753195575401,1789928896205945589,-7431711388888867127,6017765484516524987,3040235506914892955,5117440807289257785,8360626763431410346,1789928900938532918,-7431711388848992674,6017765484516524334,3040235506915147826,5117440807724936940,8360626763598654335,1789928900571011555,-7431711388849253641,6017765484516524241,3040235506915184761,5117440807676684483,8360626763546209616,1789928900518600652,-7431711388849225028,6017765484516525636,3040235506914681616,5117440807205354678,8360626763347507493,1789928900988881849,-7431711388848705067,6017765484516525559,3040235506914661487,5117440807247680325,8360626763389572822,1789928901030700106,-7431711388848699734,6017765484516526970,3040235506914105430,5117440808106040888,8360626763169799083,1789928901213579575,-7431711388848207213,6017765484516526829,3040235506914043373,5117440808030041071,8360626763093800572,1789928901271749856,-7431711388848130264,6017765484516526224,3040235506914399028,5117440807359505602,8360626763224834385,1789928900876669901,-7431711388848438799,6017765484516527619,3040235506913898179,5117440808221828865,8360626763017347730,1789928901063184398,-7431711388847916026,6017765484516527542,3040235506913875802,5117440808230753780,8360626763026206823,1789928901072085755,-7431711388847913569,-2318815949141216942,675176208751944711,8029203102556521570,282954572963614352,-4748163324059418316,-500144938226319678,-3887446334769398959,-6422987101385881139,934344456050168817,282954572963613699,-4748163324059142973,-500144938336161535,-3887446334610803566,-6422987101226760690,934344456049911302,282954572963615670,-4748163324064135846,-500144936890535948,-3887446334511355289,-6422987099517478661,934344456050694047,282954572963615033,-4748163324059672319,-500144938260197909,-3887446334803212168,-6422987101284893980,934344456050439108,282954572963614892,-4748163324059726120,-500144938616035426,-3887446334881963507,-6422987100972314479,934344456050482205,282954572963616351,-4748163324064389833,-500144936924277459,-3887446334545293122,-6422987099416370654,934344456050964466,282954572963616194,-4748163324064454210,-500144936193812288,-3887446336767353517,-6422987099091177521,934344456051030907,282954572963617653,-4748163324064923627,-500144936049867785,-3887446336879327644,-6422987099208911624,934344456051479248,282954572963617528,-4748163324064971012,-500144936131709014,-3887446336965234119,-6422987099160624987,934344456051528761,282954572963616875,-4748163324064708213,-500144936227655703,-3887446336801133958,-6422987098990225178,934344456051268430,282954572963618334,-4748163324065177374,-500144936485233380,-3887446337046325105,-6422987098841437677,934344456051749415,282954572963618177,-4748163324065229463,-500144936456630093,-3887446337026173664,-6422987098810275908,934344456051787692,282954572963619636,-4748163324065709120,-500144936375323738,-3887446337209174475,-6422987098867465047,934344456052265221,282954572963619495,-4748163324065765217,-500144936377688587,-3887446337219930010,-6422987098872435974,934344456052341338,282954572963618858,-4748163324065483450,-500144936356118808,-3887446337193772165,-6422987098978154009,934344456052057987,282954572963620829,-4748163324062087715,-500144937133476641,-3887446333680684724,-6422987100298738736,934344456052840216,282954572963620160,-4748163324066017244,-500144935740709710,-3887446337388191455,-6422987098503834691,934344456052572897,282954572963620083,-4748163324066113357,-500144935711756559,-3887446337350587550,-6422987098474325506,934344456052607606,282954572963621478,-4748163324062346166,-500144937173051996,-3887446333707743177,-6422987100200443221,934344456053098127,282954572963621353,-4748163324062406095,-500144937544053093,-3887446333822760184,-6422987099903886956,934344456053176564,282954572963622812,-4748163324062875512,-500144937399045746,-3887446333933669347,-6422987100023732607,934344456053625421,282954572963622159,-4748163324062600153,-500144937609559267,-3887446333875747186,-6422987099831045102,934344456053368546,282954572963622066,-4748163324062710674,-500144937598763536,-3887446333869213597,-6422987099825059073,934344456053397163,282954572963623461,-4748163324063131899,-500144936760421977,-3887446334104611788,-6422987099655723352,934344456053884352,282954572963623336,-4748163324063246868,-500144936807244390,-3887446334159497207,-6422987099568264555,934344456053933865,282954572963624795,-4748163324063658885,-500144936685454887,-3887446334298080182,-6422987099714957610,934344456054415038,675176208751945460,8029203102561481437,675176208751925601,8029203102553653716,675176208751926254,8029203102553393839,675176208751925851,8029203102553556390],"m_ValuePositions":[0,0,4,4,4,8,12,16,20,20,20,24,28,32,36,36,36,40,44,48,52,52,52,56,60,64,68,68,68,72,76,80,84,84,84,88,92,96,100,100,100,104,108,112,116,116,116,120,124,128,132,132,132,136,140,144,148,148,148,152,156,160,164,164,164,168,172,176,180,180,180,184,188,192,196,196,196,200,204,208,212,212,212,216,220,224,228,228,228,232,236,240,244,244,244,248,252,256,260,260,260,264,268,272,276,276,276,280,284,288,292,292,292,296,300,304,308,308,308,312,316,320,324,324,324,328,332,336,340,340,340,344,348,352,356,356,356,360,364,368,372,372,372,376,380,384,388,388,388,392,396,400,404,404,404,408,412,416,420,424,424,428,428,428,432,436,440,444,444,444,448,452,456,460,460,460,464,468,472,476,476,476,480,484,488,492,492,492,496,500,504,508,508,508,512,516,520,524,524,524,528,532,536,540,540,540,544,548,552,556,556,556,560,564,568,572,572,572,576,580,584,588,588,588,592,596,600,604,604,604,608,612,616,620,620,620,624,628,632,636,636,636,640,644,648,652,652,652,656,660,664,668,668,668,672,676,680,684,684,684,688,692,696,700,700,700,704,708,712,716,716,716,720,724,728,732,732,732,736,740,744,748,748,748,752,756,760,764,764,764,768,772,776,780,780,780,784,788,792,796,796,796,800,804,808,812,812,812,816,820,824,828,828,828,832,836,840,844,844,848,848,852,852,856,856],"m_Values":[26,0,0,0,110,36,105,136,10,0,0,0,19,183,226,210,0,0,0,0,20,118,53,166,1,0,0,0,19,183,226,210,1,0,0,0,24,118,117,212,1,0,0,0,19,183,226,210,2,0,0,0,182,130,194,100,1,0,0,0,19,183,226,210,3,0,0,0,102,243,42,34,1,0,0,0,19,183,226,210,4,0,0,0,33,118,82,54,1,0,0,0,19,183,226,210,5,0,0,0,99,186,206,111,1,0,0,0,19,183,226,210,6,0,0,0,187,46,52,244,1,0,0,0,19,183,226,210,7,0,0,0,133,145,236,4,1,0,0,0,19,183,226,210,8,0,0,0,81,162,131,73,1,0,0,0,19,183,226,210,9,0,0,0,89,237,14,93,1,0,0,0,19,183,226,210,10,0,0,0,149,65,49,197,1,0,0,0,19,183,226,210,11,0,0,0,74,186,72,160,1,0,0,0,19,183,226,210,12,0,0,0,142,227,47,125,1,0,0,0,19,183,226,210,13,0,0,0,140,167,169,112,1,0,0,0,19,183,226,210,14,0,0,0,61,203,118,231,231,3,0,0,19,183,226,210,15,0,0,0,35,198,246,96,1,0,0,0,19,183,226,210,16,0,0,0,229,247,18,208,1,0,0,0,19,183,226,210,17,0,0,0,94,83,169,224,1,0,0,0,19,183,226,210,18,0,0,0,235,57,184,165,1,0,0,0,19,183,226,210,19,0,0,0,145,51,51,148,1,0,0,0,19,183,226,210,20,0,0,0,168,178,189,87,1,0,0,0,19,183,226,210,21,0,0,0,78,82,15,156,1,0,0,0,19,183,226,210,22,0,0,0,118,137,225,249,1,0,0,0,19,183,226,210,23,0,0,0,151,33,79,118,1,0,0,0,19,183,226,210,24,0,0,0,123,86,167,200,1,0,0,0,173,128,146,79,25,0,0,0,5,0,0,0,26,0,0,0,110,36,105,136,10,0,0,0,19,183,226,210,0,0,0,0,20,118,53,166,1,0,0,0,19,183,226,210,1,0,0,0,24,118,117,212,1,0,0,0,19,183,226,210,2,0,0,0,182,130,194,100,1,0,0,0,19,183,226,210,3,0,0,0,102,243,42,34,1,0,0,0,19,183,226,210,4,0,0,0,33,118,82,54,1,0,0,0,19,183,226,210,5,0,0,0,99,186,206,111,1,0,0,0,19,183,226,210,6,0,0,0,187,46,52,244,1,0,0,0,19,183,226,210,7,0,0,0,133,145,236,4,1,0,0,0,19,183,226,210,8,0,0,0,81,162,131,73,1,0,0,0,19,183,226,210,9,0,0,0,89,237,14,93,1,0,0,0,19,183,226,210,10,0,0,0,149,65,49,197,1,0,0,0,19,183,226,210,11,0,0,0,74,186,72,160,1,0,0,0,19,183,226,210,12,0,0,0,142,227,47,125,1,0,0,0,19,183,226,210,13,0,0,0,140,167,169,112,1,0,0,0,19,183,226,210,14,0,0,0,61,203,118,231,231,3,0,0,19,183,226,210,15,0,0,0,35,198,246,96,1,0,0,0,19,183,226,210,16,0,0,0,229,247,18,208,1,0,0,0,19,183,226,210,17,0,0,0,94,83,169,224,1,0,0,0,19,183,226,210,18,0,0,0,235,57,184,165,1,0,0,0,19,183,226,210,19,0,0,0,145,51,51,148,1,0,0,0,19,183,226,210,20,0,0,0,168,178,189,87,1,0,0,0,19,183,226,210,21,0,0,0,78,82,15,156,1,0,0,0,19,183,226,210,22,0,0,0,118,137,225,249,1,0,0,0,19,183,226,210,23,0,0,0,151,33,79,118,1,0,0,0,19,183,226,210,24,0,0,0,123,86,167,200,1,0,0,0,173,128,146,79,25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"m_UnityObjects":[],"m_Version":"3.2"},{"m_ObjectType":"Opsive.UltimateInventorySystem.SaveSystem.InventorySystemManagerItemSaver+ItemsSaveData","m_ValueHashes":[],"m_LongValueHashes":[-1363196272814452408,-2902942890103329005,-5813708404501844046,-5813708393860235142,4047228153648418588,-3058358068512485112,8281016341594516655,-7417529784947167184,-4063217359398924660,-4479323111470143801,-4908253591088435216,5724003127161385715,-3303834149007254615,-3303834149007254980,-3303834149007255373,-3303834149007255866,-3303834149007256235,-3303834149007256600,-3303834149007256961,-3303834149007257358,-9009834355053391658,3931215447224449155,3931215447224449808,3931215447224436077,3931215447224436730,3931215447224436343,3931215447224434884,3931215447224435537,3931215447224438190,-6567217842134629983,-6696335206955059359,-6696335206955059556,-6696335206955060209,-6696335206955060294,-6696335206955060939,-6696335206955061088,-6696335206955061549,-6696335206955062194,-6696335206955062279,-6696335206955062924,-6696335206955063065,-6696335206955063790,-6696335206955063923,-6696335206955064520,-6696335206955064661,-6696335206955065306,-6696335206955065775,-6696335206955065908,-6696335206955066497,-6696335206955066646,-6696335206955067291,-6696335206955067504,-2990545282930534133,-6568180539990106700,-4063217359398926085,-4479323111472200476,-4908253591086821933,5724003127161688272,-3303834149123175472,-3303834149123175833<message truncated>
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to load correctly.

Post by Tony Li »

Hi,

Make sure each of your Saver components (Dialogue System Saver, UIS Saver, etc.) has a unique Key value. From the error message, it looks like one or more Savers have a blank Key value.

If you fix that and it still doesn't work, please send me a reproduction project.
fuakda
Posts: 27
Joined: Fri Sep 01, 2023 12:32 am

Re: Unable to load correctly.

Post by fuakda »

I think the keys are all the same.
I've reviewed it over and over again.
Please continue checking.

Quest state is not saved.
I'm tired.
Lua.txt
(15.94 KiB) Downloaded 53 times
InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)
UnityEditor.SerializedProperty.get_objectReferenceInstanceIDValue () (at <2acbecbc299e4654adc94df891af51f2>:0)
UnityEditor.EditorGUIUtility.ObjectContent (UnityEngine.Object obj, System.Type type, UnityEditor.SerializedProperty property, UnityEditor.EditorGUI+ObjectFieldValidator validator) (at <2acbecbc299e4654adc94df891af51f2>:0)
UnityEditor.UIElements.ObjectField+ObjectFieldDisplay.Update () (at <2acbecbc299e4654adc94df891af51f2>:0)
UnityEditor.UIElements.ObjectField.UpdateDisplay () (at <2acbecbc299e4654adc94df891af51f2>:0)
UnityEngine.UIElements.VisualElement+SimpleScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEditor.RetainedMode.UpdateSchedulers () (at <546dbfe4aa3a47b4a64849b03910c33f>:0)
Last edited by fuakda on Tue Feb 20, 2024 9:15 pm, edited 1 time in total.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to load correctly.

Post by Tony Li »

Hello,

1. Does the example scene included with the Dialogue System's UIS integration work correctly?

2. If so, then I do not have enough information to determine the problem in your scene. I will require a reproduction project to identify the problem.
fuakda
Posts: 27
Joined: Fri Sep 01, 2023 12:32 am

Re: Unable to load correctly.

Post by fuakda »

I added "DialogueSystemSaver" to the sample and tried to save the variables, but I was unable to save them.
Also, the same error occurred.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to load correctly.

Post by Tony Li »

Please confirm two things:

1. Your scene has only one Dialogue System Saver component.

2. On the Dialogue System Saver component, you have set the Key field to a unique value such as "ds".

---

If you want to describe what you want to save, I can prepare another example scene for you.
Post Reply