Instantiating a prefab in different scenes
I am trying to make an inventory system where I instantiate a button prefab. This works fine and dandy until I come back to the scene where the inventory script is first originated (the inventory). I first just had a reference to the prefab in the script which instantiates the prefab. Then I tried an asset bundle and that also had the same effect. I feel that there may be a possibility that the I did the asset bundle wrong though.
Your answer
Follow this Question
Related Questions
After being instantiated once and then destroyed, prefab is null 0 Answers
Changing Values in Inspector Only Takes Effect After Playing the Scene Twice? 0 Answers
NullReferenceException: Object reference not set to an instance of an object 1 Answer
how to change a texture on instantiated prefab? 0 Answers
Enum filter for Item system 1 Answer