maverick0927
New member
Hi,
I am trying to make the PUN add on demo work.
Currently getting a few errors and the aim ability with the sniper rifle doesn't work as intended.
The errors that I see in the console are:
Has anyone encountered these errors? This only happens in PUN add on demo. The normal demo works fine.
Please let me know how I can fix these and also what is the reason behind these errors.
Thanks.
I am trying to make the PUN add on demo work.
Currently getting a few errors and the aim ability with the sniper rifle doesn't work as intended.
The errors that I see in the console are:
Code:
Error: The state Aim on [2] RecoilEffect does not have a preset. Ensure each non-default state contains a preset.
UnityEngine.Debug:LogError (object,UnityEngine.Object)
Code:
NullReferenceException: Object reference not set to an instance of an object
Opsive.Shared.StateSystem.StateManager.CombineStates (Opsive.Shared.StateSystem.State state, System.Boolean active, Opsive.Shared.StateSystem.State[] states) (at Assets/Opsive/Shared/Runtime/StateSystem/StateManager.cs:384)
Code:
NullReferenceException: Object reference not set to an instance of an object
Opsive.Shared.StateSystem.StateManager.CombineStates (Opsive.Shared.StateSystem.State state, System.Boolean active, Opsive.Shared.StateSystem.State[] states) (at Assets/Opsive/Shared/Runtime/StateSystem/StateManager.cs:389)
Has anyone encountered these errors? This only happens in PUN add on demo. The normal demo works fine.
Please let me know how I can fix these and also what is the reason behind these errors.
Thanks.