How to load a ScriptableObject .asset file outside of a resource folder?

I want to make an application where the file to load is placed directly at the same place as .exe standalone. And that file should be a ScriptableObject asset file so the program would read/write from it. Since I could not use (MyType)Resources.Load, what should I do?

Most C# file readers returns byte and not Object, so I don’t know how to cast it.

Sorry but Unity allow you to deserialize ScriptableObject only from built-in directory Resources. You can load other files by custom path by File.ReadAllText(path) but you can’t deserialize UnityEngine.Object from it. What data do you want to store inside ScriptableObject? Maybe json will be suitable for you?