laurie
07/15/2025, 2:25 PMsharedCode directory, and make the corresponding change to sharedCodeDir in metaplay-project.yaml, and Backend/Directory.Build.props I still get the following when I try to run `metaplay dev server`; presumably because the SharedCode has not rebuilt - the .dll is missing from the server's assemblies.
... <Various Success messages>
Server failed with 4 error(s) (0.1s)
C:\Users\laure\wkspaces\BeatHunter\Unity\BeatHunter\Backend\Server\Player\PlayerActor.cs(3,12): error CS0234: The type or namespace name 'Logic' does not exist in the namespace 'Game' (are you missing an assembly reference?)
C:\Users\laure\wkspaces\BeatHunter\Unity\BeatHunter\Backend\Server\Player\PlayerActor.cs(22,55): error CS0246: The type or namespace name 'PlayerModel' could not be found (are you missing a using directive or an assembly reference?)
C:\Users\laure\wkspaces\BeatHunter\Unity\BeatHunter\Backend\Server\Player\PlayerActor.cs(22,69): error CS0246: The type or namespace name 'IPlayerModelServerListener' could not be found (are you missing a using directive or an assembly reference?)
C:\Users\laure\wkspaces\BeatHunter\Unity\BeatHunter\Backend\Server\Player\PlayerActor.cs(49,51): error CS0246: The type or namespace name 'PlayerModel' could not be found (are you missing a using directive or an assembly reference?)
Build failed with 4 error(s) in 1.3s
Any ideas? I guess I don't fully understand how the sharedCode gets compiled into the Backend code, or the implications of moving the sharedCode directory (is this at all supported?)Jurjen
07/16/2025, 5:20 AMlaurie
07/16/2025, 9:55 AM