Help - My Power Attack Scriptable Object is Not Recognised!

In this lecture Ben creates a Power Attack Scriptable Object through the editor and when this is selected in the project assets window the following appears:
Ben%20Scriptable%20Object

However when I run the editor script I get this:
image
In the script field the script name is unrecognised.

While the code will run, all the data in the “Power Attack L1” object is lost when Unity is closed. Upon re-opening Unity I have to create a new scriptable object through the editor and the attach this to the player. Then the game will run successfully.

I am using Unity 2017r3 - are there any differences in handling scriptable objects between that and Unity 5.6?

Many thanks for any help!

OK - Sorry to bother everyone but I have now fixed the issue myself - I had spaces in the C# script names for the special abilities, a real beginners mistake …

The only good thing is that I have learnt a lot going over the special ability code!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms