Relative Content

Tag Archive for c#unity-game-enginescriptable-object

changing the value of a scriptable object during runtime changes multiple?

I’m writing an app that saves meals, I’m saving them in scriptable objects. if I create an instance of one, set its values then save it as an asset, then create another and it changes the values of both, it updates all the values of the scriptable objects created during that run time, ones created before (in the editor or previous times) are fine.
ingredients is a list<string>

ScriptableObjects not loading on build

I made a ScriptableObject to hold the text of a dialogue. On playtesting the game through the Editor, the text was all there. When I built the project and ran it through the build, the text appeared as “New text” within the text box.