-
-
Notifications
You must be signed in to change notification settings - Fork 301
Description
Bug description
I'm trying to migrate over to using GameCI and I'm having an issue with builds failing due to missing assembly references from .dlls included in packages or included in the Assets folder. When building the project with the Unity editor it builds and works, the same when using a build script in a bat file and running that on a new clone of the repo.
The error is:
error CS0246: The type or namespace name 'Steamworks' could not be found (are you missing a using directive or an assembly reference?)
How to reproduce
- Import packages with dlls
"com.unity.netcode.gameobjects": "1.0.0-pre.6",
"com.community.netcode.transport.facepunch": "https://github.com/Unity-Technologies/multiplayer-community-contributions.git?path=/Transports/com.community.netcode.transport.facepunch"
- Run unity-builder action
I have created a public repo demonstrating this.
Repo: https://github.com/ottah/ReproSteamworks
Github action logs: https://github.com/ottah/ReproSteamworks/runs/5741999396#step:3:7393
There is also a build.bat that has the script I ran locally to test as well.
Expected behavior
Projects with plugins build.
Additional details
Any help on this would be appreciated. It could be the that Facepunch transport package is bundling their .dll's incorrectly, but since it is working in my existing build scripts I can't seem to figure out what is wrong.