The script don't inherit a native class that can manage a script on C# script

Hi there i keep getting an issue when trying attach a C# script to a 3d object all of the sudden. it says " The script don’t inherit a native class that can manage a script." i’ve followed Rick’s lesson down to the T and I can’t progress further due to this.

Hi,

Welcome to our community! :slight_smile:

Have you already compared your code to the Lecture Project Changes which can be found in the Resources of this lecture? Make sure all curly brackets are at the correct position.

If so, check if MonoBehaviour has got the same colour as your class name. If it doesn’t, there might be a problem with Visual Studio.

I also having this problem . It is not fixing pls help

Hi Vibhu,

Welcome to our community! :slight_smile:

Have you already tried what I suggested in my previous answer?

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

Privacy & Terms