Search Unity

Assembly Definition performance issues

Discussion in 'Editor & General Support' started by DefiantDev_Chris, Oct 9, 2018.

  1. DefiantDev_Chris

    DefiantDev_Chris

    Joined:
    May 9, 2018
    Posts:
    11
    Hey,

    We switched to using asmdefs for a recent project, but have found that they make Unity and Visual studio unbearably slow. Creating/renaming/moving a C# file often causes Unity to hang for over 15 seconds. Visual studio also seems to spend a lot of time loading projects all the time.

    I removed asmdefs from the project and the 15+ second wait is now about 2-3 seconds. It seems that compile times did not noticeably increase when doing so, which makes me question whether we should just drop asmdefs altogether.

    Is there anything that we could be doing wrong? Is this just expected behavior with asmdefs?

    Thanks,
    Chris