Hello guys!
I have been trying to install MPM for multiple versions of Unity starting from the late 2022 LTS then Unity 6 LTS. I have never succeeded :D, it always fails during the package install because of this error
'DebugUtils' does not contain a definition for 'Trace'
The error is replicated over multiples files all related to MPM.
I’ve been trying to see if one of my packages is using theses names but couldn’t find any.
I also cleared the Package Cache and Library folder just in case, no result.
Do you have any idea what is the issue here ?
Okay, found the reason. I ran grep -rnw '.' -e 'DebugUtils' in the project directory to find if there are any references to DebugUtils other than from multiplayer play.
There indeed was - Volumetric Lines included the class in its .dll. Kind of weird that this issue appeared sort of suddenly after doing an Unity version upgrade. Volumetric Lines asset had been installed for a long time and before the version upgrade, Multiplayer Play Mode worked too.
Anyway.. I removed the Volumetric Lines asset and the problem is now fixed for me.
This actually solved it for me, thanks so much!
I also tried to solve it by removing all ackages from the cache folders in AppData. Did not help in my case.