Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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

    wwaero

    Joined:
    Feb 18, 2020
    Posts:
    42
    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: