-
Notifications
You must be signed in to change notification settings - Fork 582
Description
Describe the bug
When I attempt to make an Android Build, I receive a Unresolved inflated type argument for 'T' with declaring type 'Unity.Netcode.NetworkVariable`1' error. Full error below in context
To Reproduce
Steps to reproduce the behavior:
- Open the co-op sample project
- Change platform to Android
- Choose build and run
- Build fails
- See error
Expected behavior
Build succeeds, apk generated, sent to device
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: Windows 10
- Unity Version: 2021.3.8f1
- BossRoom Version: commit at 6e1ee7a
Additional context
- Unity for netcode is included in the project's package correctly
- Unity Editor version of the project is working correctly
- Detailed Unity build error, occurs 3 times each for the OnValueChangedDelegate. Double clicking does not bring me to the correct line in file
Field 'Unity.Netcode.NetworkVariable1/OnValueChangedDelegate<T> Unity.Netcode.NetworkVariable1::OnValueChanged' from 'C:\Users\victorchua\Documents\GitHub\com.unity.multiplayer.samples.coop\Library\ScriptAssemblies\Unity.Netcode.Runtime.dll', exception Unresolved inflated type argument for 'T' with declaring type 'Unity.Netcode.NetworkVariable`1'
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()
Field 'T Unity.Netcode.NetworkVariable1::m_InternalValue' from 'C:\Users\victorchua\Documents\GitHub\com.unity.multiplayer.samples.coop\Library\ScriptAssemblies\Unity.Netcode.Runtime.dll', exception Unresolved inflated type argument for 'T' with declaring type 'Unity.Netcode.NetworkVariable1'
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()
Error building Player: 7 errors