Please check out the updated version: • Let's really fix: Saving and Loading Tilem...
For some people the instanceIDs might get changed as they are internal Unity values. Since this never happened for me I thought using this approach should be fine, but I got educated otherwise on my Discord channel.
This code update provides some small fixes and uses Unitys AssetDatabase as a fallback solution to retrieve the TileBase data if no other TileBase has been found with the given instanceID.
The GitHub repository from the original tutorial has been updated.
You can get updated SaveHandler script here: https://tinyurl.com/SaveHandler
=========
💻 CODE: https://github.com/MichelleFuchs/Savi...
💬 DISCORD: / discord
❤ SUPPORT ME: / velvary
🎮 PLAY MY GAMES: https://velvary.itch.io/
🦜 TWITTER: / velvary1
💡 ...MORE TUTORIALS: / velvarygames
=========
Timestamps:
00:00 - Intro
00:16 - The Problem
00:48 - The Solution
01:18 - The Updated Code Explained
04:07 - How To Test
04:24 - Thank you for watching :)
On this page of the site you can watch the video online Let's Fix: Saving and Loading Tilemaps - Unity Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Velvary 18 January 2022, share the link with friends and acquaintances, this video has already been watched 1,739 times on youtube and it was liked by 42 viewers. Enjoy your viewing!