How to Make an Online Level Save & Load System in Unity - Part 1

  Рет қаралды 7,538

Zyger

Zyger

Күн бұрын

Пікірлер: 24
@XxBobTheGlitcherxX
@XxBobTheGlitcherxX 2 жыл бұрын
Cool stuff, just wanted to share some quick tips for the code : - You can remove many indentations and make the code cleaner if in the loot locker functions you replace the lamdas you write by actual functions. This feels really needed on the UploadLevelData function. - Your function FindSaveableAssets call destroy on previously saved gameObjects and then finds new ones. However the objects you called Destroy on will not be gone yet by the time you call find, as said in unity doc "The object obj is destroyed immediately after the current Update loop". - I did not see the download video yet, but for the text file you save, it would probably benefit using a popular text file format like json and a set up with serialiazable struct or class instead of having arrays of the names, positions. You can then have your json formatter take your serializable struct and create the text file for you, meaning if you want more info on each object saved you dont have too add new arrays and write your own custom formatting everytime.
@bestbotreview
@bestbotreview 2 жыл бұрын
Do you know if its possible to use an iap to buy tokens then use lootlocker to save their tokens? Im new to unity / c# Been wanting to use playmaker as much as possible but even when i get playmaker apps i find myself still needing to make script lol
@glitchydemonfairy3171
@glitchydemonfairy3171 2 жыл бұрын
Yes! Finally, I can learn how to make save and load!
@meeperhere
@meeperhere 2 жыл бұрын
thanks so much, i was waiting for something like this! this will help create my game!
@Woodrina
@Woodrina Жыл бұрын
i love your work sooo much
@brotherhero1411
@brotherhero1411 10 ай бұрын
On the visual studio i cant find "LootlockerSDKManager" It should turn on green right but mine still white, how can i fix that?....Thanks
@brotherhero1411
@brotherhero1411 10 ай бұрын
2:43
@kimacemarquez5064
@kimacemarquez5064 2 жыл бұрын
I try your code but I got error when I tried to put the Getcomponent the FindSavable could not find
@ZygerGFX
@ZygerGFX 2 жыл бұрын
Make sure your naming is correct. It's searching for a script so ensure the name is correct and that it exists.
@hckrs_
@hckrs_ 8 ай бұрын
When i try this i get this error: File content is empty, not allowed.
@hckrs_
@hckrs_ 8 ай бұрын
nvm i solved it. I forgot to assign the tag to the gameobjects
@dfgesfg
@dfgesfg 2 жыл бұрын
Hi, I've done the first part of the video and I always get not successful in the console, please help me
@ZygerGFX
@ZygerGFX 2 жыл бұрын
if you open up the error in the console what error does it specifically give you? or in the code add this to the debug.log to see what the error is: response.error.
@dfgesfg
@dfgesfg 2 жыл бұрын
@@ZygerGFX in the console I get the not succesfull from the debug.log. I will try your tip later, thanks
@dfgesfg
@dfgesfg 2 жыл бұрын
@@ZygerGFX This is the error from Debug.LogError(response.Error); : Bad Request -- Your request has an error { "success": false, "error": "Platform not enabled: guest", "error_id": "NjIyN2FhYTQ2MDM3ZQ"
@ZygerGFX
@ZygerGFX 2 жыл бұрын
@@dfgesfg did you enable the guest platform on the loot locker website ?
@dfgesfg
@dfgesfg 2 жыл бұрын
@@ZygerGFX oh I only enabled android ,now it's fixed. Thank you
@copycat8725
@copycat8725 2 жыл бұрын
Yes.
@coffeebean7502
@coffeebean7502 2 жыл бұрын
Does it work in a WebGL build?
@ZygerGFX
@ZygerGFX 2 жыл бұрын
yep should work. some things may need to be changed though
@Jean-by3wt
@Jean-by3wt 2 жыл бұрын
p̷r̷o̷m̷o̷s̷m̷ 💃
@AP-iq4sf
@AP-iq4sf Жыл бұрын
Hello @ZygerGFX or @Zyger Im making a unit android game, and i do something similar as your code and it work in UNITY_EDITOR, but dont work in UNITY_ANDROID, can u help me with few lines of code, and i send you a email...Thx. 🙂
@xezienstudios
@xezienstudios Жыл бұрын
You cannot call this method before an active LootLocker session is started, i get this when i click upload level
How to make a Save & Load System in Unity
26:56
Shaped by Rain Studios
Рет қаралды 202 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 94 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,6 МЛН
快乐总是短暂的!😂 #搞笑夫妻 #爱美食爱生活 #搞笑达人
00:14
朱大帅and依美姐
Рет қаралды 12 МЛН
How I Became a Sea of Thieves Developer
8:05
Zyger
Рет қаралды 276 М.
SAVE & LOAD SYSTEM in Unity
18:20
Brackeys
Рет қаралды 1,1 МЛН
I Made a Graphics Engine in Scratch
8:27
Zyger
Рет қаралды 194 М.
How To Create An Advanced Save System In Unity
16:00
Dapper Dino
Рет қаралды 32 М.
I Made a Graphics Engine (again)
8:27
Zyger
Рет қаралды 178 М.
How to Build A Save System in Unity
9:41
Game Dev Guide
Рет қаралды 173 М.
Making a Game with Your HORRIBLE Ideas
9:32
Zyger
Рет қаралды 8 М.
Basic Saving and Loading in Unity with PlayerPrefs
8:07
How to: Unity Online Multiplayer
24:47
Tarodev
Рет қаралды 237 М.
Остановить время 2😱
0:22
Kraftovie
Рет қаралды 20 МЛН
هذي مشكلة مقاعد الوسط في #الطائرة ✈️🤣
0:41
نواف الطحيني NAWAF ALTAHINI
Рет қаралды 8 МЛН
I REVEAL MY DADS MAGIC 😱😂
0:47
Milaad K
Рет қаралды 43 МЛН