Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Resolved entities pre.15 unable to save prefab

Discussion in '2022.2 Beta' started by spinaljack, Dec 6, 2022.

  1. spinaljack

    spinaljack

    Joined:
    Mar 18, 2010
    Posts:
    992
    After updating my entities package to pre.15 I started getting this error:

    Code (CSharp):
    1. Error while saving Prefab: 'Assets/Resources/My Player Avatar.prefab'. You are trying to save a Prefab that contains the script '', which does not derive from MonoBehaviour. This is not allowed.
    2. Please change the script to derive from MonoBehaviour or remove it from the GameObject 'My Player Avatar'.
    This is a regular game object and I've got scripts that derive from plugins in the asset store and obviously wasn't an issue before.

    EDIT:
    It was actually an issue with the plugin. You can delete this thread.
     
    Last edited: Dec 6, 2022
    TreyK-47 likes this.