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. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Bug Can't attach scripts to objects

Discussion in 'Linux' started by knobby67, Apr 7, 2018.

  1. knobby67

    knobby67

    Joined:
    Aug 30, 2015
    Posts:
    385
    Hi All,
    I'm suddenly getting this error "Can't add script behaviour VisualContainerAsset. The script needs to derive from MonoBehaviour!" when trying to attach scripts. It started on new scripts. But now I'm finding even with an already working script if I remove from an script and reattach it won't work.
    Can anyone advise please?
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,106
    Hi knobby,
    Could you please submit a bug report with a minimal reproduction project for this issue? You can find guidance for that here: Bug Reporting
     
    knobby67 likes this.
  3. knobby67

    knobby67

    Joined:
    Aug 30, 2015
    Posts:
    385
    Sorry found issue all my scripts had gone to lower case for the script name. I’m unsure why...