Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Resolved entities pre.15 unable to save prefab

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

  1. spinaljack


    Mar 18, 2010
    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.

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