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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Bug on Animation Event disconnects Unity from Visual Studio

Discussion in 'Animation' started by glatteinfo, Oct 18, 2021.

  1. glatteinfo

    glatteinfo

    Joined:
    Nov 17, 2019
    Posts:
    19
    Hello,

    Unity: v.2020.3.18f1 Personal
    Visual Studio Community 2019: v.16.11.5.
    .NET Framework: v.4.8.04084

    I came across a bug today where Visual Studio disconnects from Unity when working with an event in an animation.

    I added an animation and created an event within the animation (it was a read only animation if that is of any help). I left everything else untouched and did not hit save in the properties after adding the event. After I hit play in unity, Visual Studio auto-disconnected from Unity on loading any script (it first connected and then disconnected once loaded completely).

    Restarting VS/Unity and reboot did not help. After trying several other things, I deleted the animation and its seemingly broken event and reconnected visual studio under settings and now things work again.

    Not sure if that helps, but i felt reporting it might be better than not.
     
    Last edited: Oct 18, 2021