Hello, does anyone have any experience in running mirror/unity builds inside a docker container? I'm using this image as base for building:
unityci/editor:ubuntu-2022.2.9f1-windows-mono-3.0.1, but it doesn't seem to find references in the weaver compilation of mirror. Are there some tools that mirror depends on that comes prebuilt with unity's package manager, and isn't inside the docker image? My project is mounted into the docker run command.
Build command on ubuntu host within the ubuntu docker image mentioned above:
unity-editor -nographics -logFile - -projectPath /project -buildWindows64Player '/project/Build/Windows/MyGame.exe' -quit
Some undefines (of many):
Assets/Mirror/Editor/Weaver/Processors/NetworkBehaviourProcessor.cs(50,181): error CS0246: The type or namespace name 'TypeDefinition' could not be found (are you missing a using directive or an assembly reference?)
Assets/Mirror/Editor/Weaver/Processors/NetworkBehaviourProcessor.cs(40,20): error CS0246: The type or namespace name 'MethodDefinition' could not be found (are you missing a using directive or an assembly reference?)
Assets/Mirror/Editor/Weaver/Processors/NetworkBehaviourProcessor.cs(46,20): error CS0246: The type or namespace name 'MethodDefinition' could not be found (are you missing a using directive or an assembly reference?)
Assets/Mirror/Editor/Weaver/Processors/ReaderWriterProcessor.cs(12,36): error CS0246: The type or namespace name 'AssemblyDefinition'
Assets/Mirror/Editor/Weaver/Processors/MethodProcessor.cs(1,12): error CS0234: The type or namespace name 'CecilX'