Skip to content

Reason 7. is wrong. #3

@soraphis

Description

@soraphis

## Reason 7. You cannot turn off Domain/Scene Reload
According to [Unity's Document](https://docs.unity3d.com/Manual/SceneReloading.html), when you turn off Domain and Scene reloading for better performance of Play Mode, your Scriptable Object will **keep the value**. That's the price of messing asset with mutable values. Who on earth will know what will happen when your core logic does not reset it's value? You may never be able to turn them off.

This has nothing to do with domain reload. In the editor ScriptableObjects always kept their values - not so in builds.

IIRC on UnityAtoms we addressed the issue and are resetting the ScriptableObjects accordingly event if domain reload is disabled. Not sure if we handled every edge case, but it surely is possible to do so!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions