What am I suppose to use instead of Unity Resources if I have to load and unload sprites at runtime? The 2019 Stack Overflow Developer Survey Results Are InCreating a content pipeline for a UnityHow heavy is a scene load in Unity assuming all referenced objects are in memory?Using .svg in unity(2D)Unity3d Resources.LoadAll<Sprite> empty arrayPerformance Optimization for 2D game developed using Unity 3D game engineAre loading screens more important than they appear to be?How do I run code for a period of time and then return to normal behavior?Unity: SpritePacker Atlas with Dynamic AccessLoading encounters and collisions questions within 2DHow should I organize 2D sprites?
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
Why can I use a list index as an indexing variable in a for loop?
How to notate time signature switching consistently every measure
Short story: child made less intelligent and less attractive
Does Parliament need to approve the new Brexit delay to 31 October 2019?
Ubuntu Err :18 http://dl.google.com/linux/chrome/deb stable Release.gpg KEYEXPIRED 1555048520
Accepted by European university, rejected by all American ones I applied to? Possible reasons?
Free operad over a monoid object
Why not take a picture of a closer black hole?
Didn't get enough time to take a Coding Test - what to do now?
Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time?
What was the last x86 CPU that did not have the x87 floating-point unit built in?
If climate change impact can be observed in nature, has that had any effect on rural, i.e. farming community, perception of the scientific consensus?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
How can I have a shield and a way of attacking at distance at the same time?
Pretty sure I'm over complicating my loops but unsure how to simplify
What options are there, if any, to get information from an enemy's familiar?
What is this sharp, curved notch on my knife for?
How did passengers keep warm on sail ships?
Do ℕ, mathbbN, BbbN, symbbN effectively differ, and is there a "canonical" specification of the naturals?
Mortgage adviser recommends a longer term than necessary combined with overpayments
For what reasons would an animal species NOT cross a *horizontal* land bridge?
Correct punctuation for showing a character's confusion
If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?
What am I suppose to use instead of Unity Resources if I have to load and unload sprites at runtime?
The 2019 Stack Overflow Developer Survey Results Are InCreating a content pipeline for a UnityHow heavy is a scene load in Unity assuming all referenced objects are in memory?Using .svg in unity(2D)Unity3d Resources.LoadAll<Sprite> empty arrayPerformance Optimization for 2D game developed using Unity 3D game engineAre loading screens more important than they appear to be?How do I run code for a period of time and then return to normal behavior?Unity: SpritePacker Atlas with Dynamic AccessLoading encounters and collisions questions within 2DHow should I organize 2D sprites?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
I recently read this guide posted in the Unity website about Resources. It is clear from the get-go that it is discouraged to use Resources
unless you are prototyping something.
My game is like a 2D RPG, and it has over five thousand monster sprites (yes, a lot). As far as I'm concerned, it makes perfect sense to put all the sprites in the Resources folder, and just load the ones that I need (using their name) when a battle starts and then unload it.
The Unity article makes one point that may support my approach:
Generally required throughout a project's lifetime
Well, I'm not so sure about it - in a single game session it's entirely possible that thousands of those sprites will not be used at all as the player simply doesn't encounter those monsters.
The article goes on to talk about why is it discouraged to use Resources
:
This operation is unskippable and occurs at application startup time
while the initial non-interactive splash screen is displayed.
Initializing a Resources system containing 10,000 assets has been
observed to consume multiple seconds on low-end mobile devices, even
though most of the Objects contained in Resources folders are rarely
actually needed to load into an application's first scene.
And it is indeed true - my game does in fact take several seconds to load on some low-end devices, especially Android. And it is also true that none of those sprites of mine need to be loaded at startup.
So I am willing to stop using Resources - but I am at a loss now: the article doesn't mention a reasonable alternative to this.
Here are the (unreasonable) approaches that I have thought of:
Create a component with a collection of all the sprites, that way they are all loaded without using Resources.
Yeah but I have five thousand sprites. This sounds extremely tedious.
Same as the previous suggestion, but use Texture Packer or something similar to pack lots of sprites into different sheets - this way I have to do less work.
My sprites are large and packing them won't be a huge help - I'd still end up with a thousand or so sheets.
My point is, I just can't have 5000+ sprites preloaded. I need to load them at runtime via Resources
, but Unity clearly discourages it. Is there a solution to this?
unity
$endgroup$
add a comment |
$begingroup$
I recently read this guide posted in the Unity website about Resources. It is clear from the get-go that it is discouraged to use Resources
unless you are prototyping something.
My game is like a 2D RPG, and it has over five thousand monster sprites (yes, a lot). As far as I'm concerned, it makes perfect sense to put all the sprites in the Resources folder, and just load the ones that I need (using their name) when a battle starts and then unload it.
The Unity article makes one point that may support my approach:
Generally required throughout a project's lifetime
Well, I'm not so sure about it - in a single game session it's entirely possible that thousands of those sprites will not be used at all as the player simply doesn't encounter those monsters.
The article goes on to talk about why is it discouraged to use Resources
:
This operation is unskippable and occurs at application startup time
while the initial non-interactive splash screen is displayed.
Initializing a Resources system containing 10,000 assets has been
observed to consume multiple seconds on low-end mobile devices, even
though most of the Objects contained in Resources folders are rarely
actually needed to load into an application's first scene.
And it is indeed true - my game does in fact take several seconds to load on some low-end devices, especially Android. And it is also true that none of those sprites of mine need to be loaded at startup.
So I am willing to stop using Resources - but I am at a loss now: the article doesn't mention a reasonable alternative to this.
Here are the (unreasonable) approaches that I have thought of:
Create a component with a collection of all the sprites, that way they are all loaded without using Resources.
Yeah but I have five thousand sprites. This sounds extremely tedious.
Same as the previous suggestion, but use Texture Packer or something similar to pack lots of sprites into different sheets - this way I have to do less work.
My sprites are large and packing them won't be a huge help - I'd still end up with a thousand or so sheets.
My point is, I just can't have 5000+ sprites preloaded. I need to load them at runtime via Resources
, but Unity clearly discourages it. Is there a solution to this?
unity
$endgroup$
$begingroup$
Are all those 5000+ monsters really unique? If any of them are just palette swaps of each other then I would recommend to use the same sprite asset and do the recoloring at runtime using a sprite shader.
$endgroup$
– Philipp
1 hour ago
add a comment |
$begingroup$
I recently read this guide posted in the Unity website about Resources. It is clear from the get-go that it is discouraged to use Resources
unless you are prototyping something.
My game is like a 2D RPG, and it has over five thousand monster sprites (yes, a lot). As far as I'm concerned, it makes perfect sense to put all the sprites in the Resources folder, and just load the ones that I need (using their name) when a battle starts and then unload it.
The Unity article makes one point that may support my approach:
Generally required throughout a project's lifetime
Well, I'm not so sure about it - in a single game session it's entirely possible that thousands of those sprites will not be used at all as the player simply doesn't encounter those monsters.
The article goes on to talk about why is it discouraged to use Resources
:
This operation is unskippable and occurs at application startup time
while the initial non-interactive splash screen is displayed.
Initializing a Resources system containing 10,000 assets has been
observed to consume multiple seconds on low-end mobile devices, even
though most of the Objects contained in Resources folders are rarely
actually needed to load into an application's first scene.
And it is indeed true - my game does in fact take several seconds to load on some low-end devices, especially Android. And it is also true that none of those sprites of mine need to be loaded at startup.
So I am willing to stop using Resources - but I am at a loss now: the article doesn't mention a reasonable alternative to this.
Here are the (unreasonable) approaches that I have thought of:
Create a component with a collection of all the sprites, that way they are all loaded without using Resources.
Yeah but I have five thousand sprites. This sounds extremely tedious.
Same as the previous suggestion, but use Texture Packer or something similar to pack lots of sprites into different sheets - this way I have to do less work.
My sprites are large and packing them won't be a huge help - I'd still end up with a thousand or so sheets.
My point is, I just can't have 5000+ sprites preloaded. I need to load them at runtime via Resources
, but Unity clearly discourages it. Is there a solution to this?
unity
$endgroup$
I recently read this guide posted in the Unity website about Resources. It is clear from the get-go that it is discouraged to use Resources
unless you are prototyping something.
My game is like a 2D RPG, and it has over five thousand monster sprites (yes, a lot). As far as I'm concerned, it makes perfect sense to put all the sprites in the Resources folder, and just load the ones that I need (using their name) when a battle starts and then unload it.
The Unity article makes one point that may support my approach:
Generally required throughout a project's lifetime
Well, I'm not so sure about it - in a single game session it's entirely possible that thousands of those sprites will not be used at all as the player simply doesn't encounter those monsters.
The article goes on to talk about why is it discouraged to use Resources
:
This operation is unskippable and occurs at application startup time
while the initial non-interactive splash screen is displayed.
Initializing a Resources system containing 10,000 assets has been
observed to consume multiple seconds on low-end mobile devices, even
though most of the Objects contained in Resources folders are rarely
actually needed to load into an application's first scene.
And it is indeed true - my game does in fact take several seconds to load on some low-end devices, especially Android. And it is also true that none of those sprites of mine need to be loaded at startup.
So I am willing to stop using Resources - but I am at a loss now: the article doesn't mention a reasonable alternative to this.
Here are the (unreasonable) approaches that I have thought of:
Create a component with a collection of all the sprites, that way they are all loaded without using Resources.
Yeah but I have five thousand sprites. This sounds extremely tedious.
Same as the previous suggestion, but use Texture Packer or something similar to pack lots of sprites into different sheets - this way I have to do less work.
My sprites are large and packing them won't be a huge help - I'd still end up with a thousand or so sheets.
My point is, I just can't have 5000+ sprites preloaded. I need to load them at runtime via Resources
, but Unity clearly discourages it. Is there a solution to this?
unity
unity
edited 4 hours ago
Philipp
82k20193243
82k20193243
asked 4 hours ago
OxideOxide
27572254
27572254
$begingroup$
Are all those 5000+ monsters really unique? If any of them are just palette swaps of each other then I would recommend to use the same sprite asset and do the recoloring at runtime using a sprite shader.
$endgroup$
– Philipp
1 hour ago
add a comment |
$begingroup$
Are all those 5000+ monsters really unique? If any of them are just palette swaps of each other then I would recommend to use the same sprite asset and do the recoloring at runtime using a sprite shader.
$endgroup$
– Philipp
1 hour ago
$begingroup$
Are all those 5000+ monsters really unique? If any of them are just palette swaps of each other then I would recommend to use the same sprite asset and do the recoloring at runtime using a sprite shader.
$endgroup$
– Philipp
1 hour ago
$begingroup$
Are all those 5000+ monsters really unique? If any of them are just palette swaps of each other then I would recommend to use the same sprite asset and do the recoloring at runtime using a sprite shader.
$endgroup$
– Philipp
1 hour ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
If you want to load assets at runtime, then the solution suggested by Unity Technologies is to put those assets into asset bundle files which you can then load at runtime with AssetBundle.LoadFromFile(filepath)
. When you don't need the sprite anymore, unload that asset bundle with loadedAssetBundle.Unload()
.
Putting each sprite into its own asset bundle might be one posible solution. But I have never worked with a project with 5000 asset bundles before, so I am not sure if this solution is really that scalable. If you can, try to group your asset bundles into what you are going to need at the same time. For example, if you have a 1:n relationship between areas and monsters, try to put all the monsters for one area into one asset bundle. But now you do of course need some kind of directory system which tells you which monster is in which asset file (with each monster in its own file, you can just name the files after the technical identifiers of your monsters).
I am looking forward to defeating all the 5000+ monsters in your game.
$endgroup$
$begingroup$
I would recommend Adressables. AssetBundle is a really difficult to maintain system. It's another layer of organization you have to remember to constantly keep up to date. I've had to work with it for several titles and it's one of the most infuriating APIs. Every version of the doc tells you something different as the API has changed rapidly over time, and the real answer is some combination of all the docs. It's why they made Adressables.
$endgroup$
– gjh33
30 mins ago
$begingroup$
@gjh33 I haven't heard about that feature yet. Maybe you would like to write an own answer where you explain this in detail?
$endgroup$
– Philipp
25 mins ago
$begingroup$
The reason I don't is because I haven't worked with it. I have however worked with AssetBundles quite a bit, both loading from disk and loading over the web for a WebGL port. It might be a Unity 2019 feature, but I'll link it and let poster decide if he wants to use it. The other project team is using it, and have found it pretty useful. Here's a link to the doc: docs.unity3d.com/Packages/com.unity.addressables@0.4/manual/…
$endgroup$
– gjh33
21 mins ago
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
);
);
, "mathjax-editing");
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "53"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgamedev.stackexchange.com%2fquestions%2f169977%2fwhat-am-i-suppose-to-use-instead-of-unity-resources-if-i-have-to-load-and-unload%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
If you want to load assets at runtime, then the solution suggested by Unity Technologies is to put those assets into asset bundle files which you can then load at runtime with AssetBundle.LoadFromFile(filepath)
. When you don't need the sprite anymore, unload that asset bundle with loadedAssetBundle.Unload()
.
Putting each sprite into its own asset bundle might be one posible solution. But I have never worked with a project with 5000 asset bundles before, so I am not sure if this solution is really that scalable. If you can, try to group your asset bundles into what you are going to need at the same time. For example, if you have a 1:n relationship between areas and monsters, try to put all the monsters for one area into one asset bundle. But now you do of course need some kind of directory system which tells you which monster is in which asset file (with each monster in its own file, you can just name the files after the technical identifiers of your monsters).
I am looking forward to defeating all the 5000+ monsters in your game.
$endgroup$
$begingroup$
I would recommend Adressables. AssetBundle is a really difficult to maintain system. It's another layer of organization you have to remember to constantly keep up to date. I've had to work with it for several titles and it's one of the most infuriating APIs. Every version of the doc tells you something different as the API has changed rapidly over time, and the real answer is some combination of all the docs. It's why they made Adressables.
$endgroup$
– gjh33
30 mins ago
$begingroup$
@gjh33 I haven't heard about that feature yet. Maybe you would like to write an own answer where you explain this in detail?
$endgroup$
– Philipp
25 mins ago
$begingroup$
The reason I don't is because I haven't worked with it. I have however worked with AssetBundles quite a bit, both loading from disk and loading over the web for a WebGL port. It might be a Unity 2019 feature, but I'll link it and let poster decide if he wants to use it. The other project team is using it, and have found it pretty useful. Here's a link to the doc: docs.unity3d.com/Packages/com.unity.addressables@0.4/manual/…
$endgroup$
– gjh33
21 mins ago
add a comment |
$begingroup$
If you want to load assets at runtime, then the solution suggested by Unity Technologies is to put those assets into asset bundle files which you can then load at runtime with AssetBundle.LoadFromFile(filepath)
. When you don't need the sprite anymore, unload that asset bundle with loadedAssetBundle.Unload()
.
Putting each sprite into its own asset bundle might be one posible solution. But I have never worked with a project with 5000 asset bundles before, so I am not sure if this solution is really that scalable. If you can, try to group your asset bundles into what you are going to need at the same time. For example, if you have a 1:n relationship between areas and monsters, try to put all the monsters for one area into one asset bundle. But now you do of course need some kind of directory system which tells you which monster is in which asset file (with each monster in its own file, you can just name the files after the technical identifiers of your monsters).
I am looking forward to defeating all the 5000+ monsters in your game.
$endgroup$
$begingroup$
I would recommend Adressables. AssetBundle is a really difficult to maintain system. It's another layer of organization you have to remember to constantly keep up to date. I've had to work with it for several titles and it's one of the most infuriating APIs. Every version of the doc tells you something different as the API has changed rapidly over time, and the real answer is some combination of all the docs. It's why they made Adressables.
$endgroup$
– gjh33
30 mins ago
$begingroup$
@gjh33 I haven't heard about that feature yet. Maybe you would like to write an own answer where you explain this in detail?
$endgroup$
– Philipp
25 mins ago
$begingroup$
The reason I don't is because I haven't worked with it. I have however worked with AssetBundles quite a bit, both loading from disk and loading over the web for a WebGL port. It might be a Unity 2019 feature, but I'll link it and let poster decide if he wants to use it. The other project team is using it, and have found it pretty useful. Here's a link to the doc: docs.unity3d.com/Packages/com.unity.addressables@0.4/manual/…
$endgroup$
– gjh33
21 mins ago
add a comment |
$begingroup$
If you want to load assets at runtime, then the solution suggested by Unity Technologies is to put those assets into asset bundle files which you can then load at runtime with AssetBundle.LoadFromFile(filepath)
. When you don't need the sprite anymore, unload that asset bundle with loadedAssetBundle.Unload()
.
Putting each sprite into its own asset bundle might be one posible solution. But I have never worked with a project with 5000 asset bundles before, so I am not sure if this solution is really that scalable. If you can, try to group your asset bundles into what you are going to need at the same time. For example, if you have a 1:n relationship between areas and monsters, try to put all the monsters for one area into one asset bundle. But now you do of course need some kind of directory system which tells you which monster is in which asset file (with each monster in its own file, you can just name the files after the technical identifiers of your monsters).
I am looking forward to defeating all the 5000+ monsters in your game.
$endgroup$
If you want to load assets at runtime, then the solution suggested by Unity Technologies is to put those assets into asset bundle files which you can then load at runtime with AssetBundle.LoadFromFile(filepath)
. When you don't need the sprite anymore, unload that asset bundle with loadedAssetBundle.Unload()
.
Putting each sprite into its own asset bundle might be one posible solution. But I have never worked with a project with 5000 asset bundles before, so I am not sure if this solution is really that scalable. If you can, try to group your asset bundles into what you are going to need at the same time. For example, if you have a 1:n relationship between areas and monsters, try to put all the monsters for one area into one asset bundle. But now you do of course need some kind of directory system which tells you which monster is in which asset file (with each monster in its own file, you can just name the files after the technical identifiers of your monsters).
I am looking forward to defeating all the 5000+ monsters in your game.
edited 1 hour ago
answered 3 hours ago
PhilippPhilipp
82k20193243
82k20193243
$begingroup$
I would recommend Adressables. AssetBundle is a really difficult to maintain system. It's another layer of organization you have to remember to constantly keep up to date. I've had to work with it for several titles and it's one of the most infuriating APIs. Every version of the doc tells you something different as the API has changed rapidly over time, and the real answer is some combination of all the docs. It's why they made Adressables.
$endgroup$
– gjh33
30 mins ago
$begingroup$
@gjh33 I haven't heard about that feature yet. Maybe you would like to write an own answer where you explain this in detail?
$endgroup$
– Philipp
25 mins ago
$begingroup$
The reason I don't is because I haven't worked with it. I have however worked with AssetBundles quite a bit, both loading from disk and loading over the web for a WebGL port. It might be a Unity 2019 feature, but I'll link it and let poster decide if he wants to use it. The other project team is using it, and have found it pretty useful. Here's a link to the doc: docs.unity3d.com/Packages/com.unity.addressables@0.4/manual/…
$endgroup$
– gjh33
21 mins ago
add a comment |
$begingroup$
I would recommend Adressables. AssetBundle is a really difficult to maintain system. It's another layer of organization you have to remember to constantly keep up to date. I've had to work with it for several titles and it's one of the most infuriating APIs. Every version of the doc tells you something different as the API has changed rapidly over time, and the real answer is some combination of all the docs. It's why they made Adressables.
$endgroup$
– gjh33
30 mins ago
$begingroup$
@gjh33 I haven't heard about that feature yet. Maybe you would like to write an own answer where you explain this in detail?
$endgroup$
– Philipp
25 mins ago
$begingroup$
The reason I don't is because I haven't worked with it. I have however worked with AssetBundles quite a bit, both loading from disk and loading over the web for a WebGL port. It might be a Unity 2019 feature, but I'll link it and let poster decide if he wants to use it. The other project team is using it, and have found it pretty useful. Here's a link to the doc: docs.unity3d.com/Packages/com.unity.addressables@0.4/manual/…
$endgroup$
– gjh33
21 mins ago
$begingroup$
I would recommend Adressables. AssetBundle is a really difficult to maintain system. It's another layer of organization you have to remember to constantly keep up to date. I've had to work with it for several titles and it's one of the most infuriating APIs. Every version of the doc tells you something different as the API has changed rapidly over time, and the real answer is some combination of all the docs. It's why they made Adressables.
$endgroup$
– gjh33
30 mins ago
$begingroup$
I would recommend Adressables. AssetBundle is a really difficult to maintain system. It's another layer of organization you have to remember to constantly keep up to date. I've had to work with it for several titles and it's one of the most infuriating APIs. Every version of the doc tells you something different as the API has changed rapidly over time, and the real answer is some combination of all the docs. It's why they made Adressables.
$endgroup$
– gjh33
30 mins ago
$begingroup$
@gjh33 I haven't heard about that feature yet. Maybe you would like to write an own answer where you explain this in detail?
$endgroup$
– Philipp
25 mins ago
$begingroup$
@gjh33 I haven't heard about that feature yet. Maybe you would like to write an own answer where you explain this in detail?
$endgroup$
– Philipp
25 mins ago
$begingroup$
The reason I don't is because I haven't worked with it. I have however worked with AssetBundles quite a bit, both loading from disk and loading over the web for a WebGL port. It might be a Unity 2019 feature, but I'll link it and let poster decide if he wants to use it. The other project team is using it, and have found it pretty useful. Here's a link to the doc: docs.unity3d.com/Packages/com.unity.addressables@0.4/manual/…
$endgroup$
– gjh33
21 mins ago
$begingroup$
The reason I don't is because I haven't worked with it. I have however worked with AssetBundles quite a bit, both loading from disk and loading over the web for a WebGL port. It might be a Unity 2019 feature, but I'll link it and let poster decide if he wants to use it. The other project team is using it, and have found it pretty useful. Here's a link to the doc: docs.unity3d.com/Packages/com.unity.addressables@0.4/manual/…
$endgroup$
– gjh33
21 mins ago
add a comment |
Thanks for contributing an answer to Game Development Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgamedev.stackexchange.com%2fquestions%2f169977%2fwhat-am-i-suppose-to-use-instead-of-unity-resources-if-i-have-to-load-and-unload%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Are all those 5000+ monsters really unique? If any of them are just palette swaps of each other then I would recommend to use the same sprite asset and do the recoloring at runtime using a sprite shader.
$endgroup$
– Philipp
1 hour ago