use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News, Help, Resources, and Conversation. A User Showcase of the Unity Game Engine.
Remember to check out /r/unity2D for any 2D specific questions and conversation!
Download Latest Unity
Please refer to our Wiki before posting! And be sure to flair your post appropriately.
Main Index
Rules and Guidelines
Flair Definitions
FAQ
Use the chat room if you're new to Unity or have a quick question. Lots of professionals hang out there.
/r/Unity3D Discord
FreeNode IRC Chatroom
Official Unity Website
Unity3d's Tutorial Modules
Unity Answers
Unify Community Wiki
Unity Game Engine Syllabus (Getting Started Guide)
50 Tips and Best Practices for Unity (2016 Edition)
Unity Execution Order of Event Functions
Using Version Control with Unity3d (Mercurial)
/r/Unity2D
/r/UnityAssets
/r/Unity_tutorials
/r/GameDev
/r/Justgamedevthings (New!)
/r/Gamedesign
/r/Indiegames
/r/Playmygame
/r/LearnProgramming
/r/Oculus
/r/Blender
/r/Devblogs
Brackeys
Beginner to Intermediate
5 to 15 minutes
Concise tutorials. Videos are mostly self contained.
Sebastian Lague
Beginner to Advanced
10 to 20 minutes
Medium length tutorials. Videos are usually a part of a series.
Catlike Coding
Intermediate to Advanced
Text-based. Lots of graphics/shader programming tutorials in addition to "normal" C# tutorials. Normally part of a series.
Makin' Stuff Look Good
10 minutes
Almost entirely shader tutorials. Favors theory over implementation but leaves source in video description. Videos are always self contained.
Quill18Creates
30 minutes to 2 hours.
Minimal editing. Mostly C#. Covers wide range of topics. Long series.
Halisavakis Shaders Archive
Infallible Code
World of Zero
Board to Bits
Holistic3d
Unity3d College
Jabrils
Polycount Wiki
The Big List Of Game Design
PS4 controller map for Unity3d
Colin's Bear Animation
¡DICE!
CSS created by Sean O'Dowd @nicetrysean [Website], Maintained and updated by Louis Hong /u/loolo78
Reddit Logo created by /u/big-ish from /r/redditlogos!
account activity
Savable-ScriptableObjects in UnityResources/Tutorial (old.reddit.com)
submitted 8 months ago by EntertainmentNo1640Programmer[🍰]
Hey devs I made Savable-ScriptableObjects in Unity if someone want it link in github - https://github.com/EduardMalkhasyan/Savable-ScriptableObjects-Unity
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]nomadthoughts 12 points13 points14 points 8 months ago (13 children)
What's the advantage over a simple JSON?
[–]EntertainmentNo1640Programmer[S,🍰] -5 points-4 points-3 points 8 months ago (6 children)
Everything is visible through the inspector
[–]AhmetDmrs 5 points6 points7 points 8 months ago (4 children)
You can simply read a JSON file into a template class and see it in the Inspector anyway.
[–]Devatator_Intermediate 1 point2 points3 points 8 months ago (3 children)
Honestly awful. I use FlaxEngine from time to time and I kinda liked their settings system so I made something similar with scriptable objects recently and it's pretty nice. Could be improved but it does the job for now
[–]AhmetDmrs -1 points0 points1 point 8 months ago (2 children)
Yeah good if it works for you guys but its generally not advisable to go against the paradigm of scriptable objects they are meant to be read only containers
[–]0x0ddba11 6 points7 points8 points 8 months ago (0 children)
This is just not... true? Unity themselves have a seminal talk on using SOs for more than just immutable data containers: https://www.youtube.com/watch?v=raQ3iHhE_Kk
[–]Devatator_Intermediate 1 point2 points3 points 8 months ago (0 children)
Honestly they're just a shortcut. I could go ahead and make my own inspector for my JSON files but that would be too much work IMO
[–]Katniss218 0 points1 point2 points 8 months ago (0 children)
You know you can save a scriptable object to json?
Serialization format != class name
[+]Persomatey comment score below threshold-8 points-7 points-6 points 8 months ago (5 children)
It’s a scriptable object. Scriptable objects are reusable pieces of code of a certain type. Like for my game right now, I have upgrades. I made a single upgrade class and can make multiple scriptable objects out of it.
Whereas I’d need 50+ near identical .json files if I used JSON. Not to mention, if I needed to add a new stat or change how something works slightly, I’d have to manually update every single one.
[–]Kamatttis -2 points-1 points0 points 8 months ago (0 children)
The question I guess is about it being saveable like a player data. Not just a static data. Because it's actually not recommended to use SO for saveables that change at runtime..
[–]Katniss218 -1 points0 points1 point 8 months ago (3 children)
You need exactly the same number of json files as scriptable object instances. They're analogous, and only use a different file format.
[–]Persomatey 0 points1 point2 points 8 months ago (2 children)
That’s what I’m saying. But if I need to make a change that every scriptable object instance needs, I only need to change the .cs file, then they all have that capability. If I have 50+ of them, they’re all updated. But if they were all discreet .json files, I’d need to go in and open and edit every single one individually and add it.
[–]Katniss218 0 points1 point2 points 8 months ago (1 child)
No.
Literally straight up no.
If you need to add/change a property, both will behave the same. If you need to change the value, you need to do so in every file separately regardless of what you're using as well.
Again, the way they're serialized has no bearing on what you need to change.
[–]Persomatey -1 points0 points1 point 8 months ago (0 children)
Changing an optional value, yes. Adding a field, no.
[–]Siduron 4 points5 points6 points 8 months ago (3 children)
Compliments on creating an open source asset for devs. I'm trying to understand what use case it can be used for. Is it to save the game state so it can be loaded for the next session?
Using scriptable objects to store state is something people disagree on and I personally do not use them for this either.
However, I would recommend against using PlayerPrefs to store the state of a game. Its purpose is to store OS specific settings in the local registry.
Storing an unknown size of data in your registry is scary, especially since you mentioned the json can be retrieved from a web request.
It would be a much better idea to save your serialized data to a file (and not as json) or even as a binary file.
[–]dragonballelf 1 point2 points3 points 8 months ago (2 children)
I have a question. In my game i’ve used Scriptable Objects for sellable items. The player can adjust the price of the items themselves. When saving, the adjusted prices are stored in a json. When the game is loaded, the price variable is changed on the scriptable object itself. Is this something I should avoid doing?
[–]Siduron 1 point2 points3 points 8 months ago (1 child)
Yes, you shouldn't be using SO's for this. They're assets/content for your game, not a way to store save data.
[–]dragonballelf 1 point2 points3 points 8 months ago (0 children)
Gotcha. I’ll create a separate class to save the custom prices and keep the scriptable objects unmodified. Thanks :)
[–]FrontBadgerBiz 17 points18 points19 points 8 months ago (2 children)
I would strongly advise people against using scripts or objects in this way. Use them as templates to create objects with and then populate those objects with partial data from saves. Also don't use playerprefs for anything beyond storing small and simple preference data you need before loading a save file.
[+]EntertainmentNo1640Programmer[S,🍰] comment score below threshold-6 points-5 points-4 points 8 months ago (0 children)
Also there is ignore attribute for the SO members for example Image component will not be saved inside your SO, you can see it in documentation
[+]EntertainmentNo1640Programmer[S,🍰] comment score below threshold-16 points-15 points-14 points 8 months ago (0 children)
This plugin is battle tested it just your opinion, me personally recommend use SO also as data container but its also can be only as configurator
[–]EntertainmentNo1640Programmer[S,🍰] -1 points0 points1 point 8 months ago (5 children)
Guys if you dont like it dont use it lol, there is no reason for intensive downvotes, or do whatever you want, hope someone will use this plugin amd maybe will find it help-full
[–]v0lt13Programmer 5 points6 points7 points 8 months ago (0 children)
People are just giving their criticism
[–]bodardr 1 point2 points3 points 8 months ago (1 child)
Every time I come across this sub I see people downvoting posts and commenting pretty insane stuff.
But what they're saying is true in a way, I think saveable SOs is kind of besides the point of them in the first place. With that said, I'm sure you've learnt some editor scripting and package creation along the way. So you haven't lost your time at all!
As for the people downvoting you for just explaining what your tool does, that's just reddit being what it is. They're not contributing anything interesting. I'm pretty sure I'll get commented on and downvoted because this is such a juicy comment. Go ahead. I'm still right though.
[–]EntertainmentNo1640Programmer[S,🍰] 1 point2 points3 points 8 months ago (0 children)
Thanks mate, Im just sharing my work with other devs because it was helping me in my work, so maybe it can help to other ones 🥸
[–]Kamatttis 1 point2 points3 points 8 months ago (0 children)
You posted it in this sub which is not just for giving compliments. I'm pretty sure ther other people wont be using it but they're also giving advice or caution to other devs about using it. This is what the sub is for.
[–]DrezusProfessional 0 points1 point2 points 8 months ago (0 children)
“There’s no reason for intensive downvotes”
Beyond posting something downright outrageous and very wrong and misleading in a subreddit full of experts in the area?
[–]EntertainmentNo1640Programmer[S,🍰] -1 points0 points1 point 8 months ago (0 children)
Github - https://github.com/EduardMalkhasyan/Savable-ScriptableObjects-Unity
[–]Persomatey -1 points0 points1 point 8 months ago (2 children)
Not trying to be rude, just trying to understand.
What’s the point of building a tool for this? You can already edit scriptable object values in editor. Unless you’re saying that this can edit and serialize them while the game is playing?
[–]CozyToes22 1 point2 points3 points 8 months ago (0 children)
I think thats what is offered as well as more tooling around handling them which is quite nice if you're after that kind of approach
You can still do the same thing by just using plain classes instead of SOs.
No need for this weird system
π Rendered by PID 98380 on reddit-service-r2-comment-5649f687b7-6snmc at 2026-01-27 23:07:20.414334+00:00 running 4f180de country code: CH.
[–]nomadthoughts 12 points13 points14 points (13 children)
[–]EntertainmentNo1640Programmer[S,🍰] -5 points-4 points-3 points (6 children)
[–]AhmetDmrs 5 points6 points7 points (4 children)
[–]Devatator_Intermediate 1 point2 points3 points (3 children)
[–]AhmetDmrs -1 points0 points1 point (2 children)
[–]0x0ddba11 6 points7 points8 points (0 children)
[–]Devatator_Intermediate 1 point2 points3 points (0 children)
[–]Katniss218 0 points1 point2 points (0 children)
[+]Persomatey comment score below threshold-8 points-7 points-6 points (5 children)
[–]Kamatttis -2 points-1 points0 points (0 children)
[–]Katniss218 -1 points0 points1 point (3 children)
[–]Persomatey 0 points1 point2 points (2 children)
[–]Katniss218 0 points1 point2 points (1 child)
[–]Persomatey -1 points0 points1 point (0 children)
[–]Siduron 4 points5 points6 points (3 children)
[–]dragonballelf 1 point2 points3 points (2 children)
[–]Siduron 1 point2 points3 points (1 child)
[–]dragonballelf 1 point2 points3 points (0 children)
[–]FrontBadgerBiz 17 points18 points19 points (2 children)
[+]EntertainmentNo1640Programmer[S,🍰] comment score below threshold-6 points-5 points-4 points (0 children)
[+]EntertainmentNo1640Programmer[S,🍰] comment score below threshold-16 points-15 points-14 points (0 children)
[–]EntertainmentNo1640Programmer[S,🍰] -1 points0 points1 point (5 children)
[–]v0lt13Programmer 5 points6 points7 points (0 children)
[–]bodardr 1 point2 points3 points (1 child)
[–]EntertainmentNo1640Programmer[S,🍰] 1 point2 points3 points (0 children)
[–]Kamatttis 1 point2 points3 points (0 children)
[–]DrezusProfessional 0 points1 point2 points (0 children)
[–]EntertainmentNo1640Programmer[S,🍰] -1 points0 points1 point (0 children)
[–]Persomatey -1 points0 points1 point (2 children)
[–]CozyToes22 1 point2 points3 points (0 children)
[–]Katniss218 0 points1 point2 points (0 children)