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. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    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:
    41
    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: