ScriptableObject Error

Hey guys, I’m getting errors in my build when I try to use my scriptable objects. The game works fine in Editor Play Mode, but doesn’t build/compile.
Edit: Trying to build for: Windows

Here is the error:

Each error is for each scriptable object I’m using.

I have tried using Resource.Load for the scriptable objects but I’m having no luck.

what build target?

Windows

You don’t attach scriptable objects to other scripts/objects or load them. You just reference them.

1 Like