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. Dismiss Notice

Bug Plastic SCM plugin for Rider constantly timing out.

Discussion in 'Unity Version Control' started by Brogan89, Apr 30, 2023.

  1. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    243
    I'm not sure how makes the Plastic Plugin I'm guessing it's Unity and not JetBrains now?
    If it's a JetBrains issue then I can move the issue over to their forums.

    I'm constantly having Rider slow right down and become unusable. It happens consistently when adding/removing a new class, but it also happens randomly without those actions.

    It's the same error each time, relating to annotations,

    It happens on Windows and Mac.

    My temporary workaround is I need to put focus back on Unity so it can recompile, then come back to Rider and it can become usable again. Sometimes I have to do that a few times for it to kick back into action.

    It's extremely annoying and the worst part of Rider/Plastic. However, I love both tools so much that I still grind through them. Would be such an amazing improvement if this could be fixed.


    Thanks dev team :)
     
  2. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    842
    Could you open a ticket at devops-vcs-support@unity3d.com?

    Does it only happen when you have enabled the Version Control package? What is your Unity version and the Version Control package version?
     
  3. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    243

    Hey yeah, I'll get onto that.

    Using
    - Unity 2021.3.24 and 2022.2.17. Happens on both.
    - Rider 2023.1.1
    - Rider package 3.0.21

    It only happens when the plugin is enabled yeah.
    Its pretty consistent and reliable. I wonder if its related to Rider forcing the compile on Unity or something.
    I had to turn it off in the end, it was getting too disruptive.
     
    Last edited: May 8, 2023
  4. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    842
    Hi,

    What is the Version Control package version?

    Does it only happen when you have enabled the Version Control package? Or when you have enabled the Rider package? I would like to understand what is the specific package generating the problem.

    Regards,
    Carlos.
     
  5. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    243

    I've got an open ticket here.
    https://support.unity.com/hc/en-us/requests/1557902

    I've had a video call and shown the issue as well. There is a video link in the ticket.

    It only happens when the plugin for Rider is enabled yes.

    It seems to me that there is a conflict between Unity and Rider plastic plugins. A timing issue.
    For example: when I create a script both Unity and Rider are fighting for the same resources.
    I think a simple, possibly naive, fix would be adding some kind of wait on Riders' end. So if Unity is busy, rider should wait in the background (as not to kill performance) until it's done then do whatever it needs to do.
     
  6. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    842
    Thanks for the update and the details. I can see my coworker is already handling the ticket so let's continue the conversation there to avoid duplicating the threads.