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.

Issue adding any script to a gameobject after installing python 4.0.0-pre.1

Discussion in 'Formats & External Tools Previews' started by wwaero, Jan 25, 2022.

  1. wwaero


    Feb 18, 2020
    I get "The associated script can not be loaded please fix and compile errors and assign a valid script" warning when i put empty scripts onto a gameobject. "The class named 'testing' is not derived from MonoBehaviour or ScriptableObject!". I'm not sure if it's because I added the Assembly Reference to com.unity.scripting.pythong.editor or not but my scripts when I click on them now have that assembly information on them see attached.

    Attached Files: