Search Unity

Bug Problem with Script & State Machines and other components.

Discussion in 'Visual Scripting' started by pikmin144, May 11, 2023.

  1. pikmin144

    pikmin144

    Joined:
    Apr 30, 2023
    Posts:
    2
    Hi, i have been working on a small game with visual scripting.

    Today i noticed a problem in some components of few game objects. Script and State machine components were completely changed to something that i couldn't edit (First Image). They used to look like second image i uploaded.

    Everytime i close and open project again, console says "[Deserialization] Object reference at index #0 does not match target type (UnityEngine.Object != Unity.VisualScripting.StateGraphAsset). Defaulting to null."

    Also every component has this "Instance ID" number inside them which wasn't present.

    I don't know what caused this? Is there anyone who knows solution to this?

    1.png

    2.png
     
  2. pikmin144

    pikmin144

    Joined:
    Apr 30, 2023
    Posts:
    2
    The problem is solved. It turns out that my inspector window was in "Debug" mode. I changed to normal and everything is normal now.