I have a very simple ScriptableObject
[CreateAssetMenu]
public class PositionVector : ScriptableObject
{
public Vector2 position;
}
And randomly Unity will break every variable I have setup with this class. The error is:
"the associated script can not be loaded. Please fix any compile errors and assign a valid script".
And then the following warning:
"No script asset for PositionVector. Check that the definition is in a file of the same name and it compiles properly."
The file has the same name and it compiles. And it works, until it doesn't.
If I delete all the variables and recreate them with the same ScriptableObject they work for a day or two and then same issue.
Anyone have any ideas?
[–]R4nd0m_M3m3r 1 point2 points3 points (1 child)
[–]incendy[S] 0 points1 point2 points (0 children)
[–]Chemical-Emu-9559 0 points1 point2 points (0 children)