Let's really fix: Saving and Loading Tilemaps - Unity Tutorial

Опубликовано: 12 Февраль 2022
на канале: Velvary
1,491
52

This video provides a fix for my first video about saving and loading tilemaps:    • Saving and Loading Tilemaps - Unity T...  

For some people the InstanceIDs might get changes 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.
My first fix, using Unitys AssetDatabase as a fallback solution to retrieve the TileBase data, completly prevents the game from being built. So this was complete crap.
In this video we use our own identifier to make a connection between a saveable reference and the tileBase. This is exemplified by the name. An whole complete working tutorial will be coming soon.

The GitHub repository from the original tutorial has been updated.

=========

💻 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
01:30 - The Solution
01:52​ - Coding the Solution
04:20 - Update the Saving Part
05:52​ - Update the Loading Part
06:42 - Conditions
07:02 - Thank you for watching :)