Errors after importing MFPS in URP project, following all instructions.
Posted: Wed Jul 06, 2022 11:36 am
Hello can you help me? I'm having these errors after importing the asset into a URP project, following the instructions, but I still have these errors. I already checked if I did something wrong, but I don't think so, follow all instructions from Lovatto's tutorials that come in MFPS 2.0.
The mistakes:
NullReferenceException: Object reference not set to an instance of an object
bl_WeaponBob.Movement () (at Assets/MFPS/Scripts/Weapon/Movement/bl_WeaponBob.cs:134)
bl_WeaponBob.OnFixedUpdate () (at Assets/MFPS/Scripts/Weapon/Movement/bl_WeaponBob.cs:74)
MFPS.Internal.bl_UpdateManager.FixedUpdate () (at Assets/MFPS/Scripts/Internal/General/bl_UpdateManager.cs:215)
NullReferenceException: Object reference not set to an instance of an object
bl_PlayerNetwork.OnLocalPlayer () (at Assets/MFPS/Scripts/Network/Player/bl_PlayerNetwork.cs:177)
bl_PlayerNetwork.OnUpdate () (at Assets/MFPS/Scripts/Network/Player/bl_PlayerNetwork.cs:167)
MFPS.Internal.bl_UpdateManager.Update () (at Assets/MFPS/Scripts/Internal/General/bl_UpdateManager.cs:184)
The mistakes:
NullReferenceException: Object reference not set to an instance of an object
bl_WeaponBob.Movement () (at Assets/MFPS/Scripts/Weapon/Movement/bl_WeaponBob.cs:134)
bl_WeaponBob.OnFixedUpdate () (at Assets/MFPS/Scripts/Weapon/Movement/bl_WeaponBob.cs:74)
MFPS.Internal.bl_UpdateManager.FixedUpdate () (at Assets/MFPS/Scripts/Internal/General/bl_UpdateManager.cs:215)
NullReferenceException: Object reference not set to an instance of an object
bl_PlayerNetwork.OnLocalPlayer () (at Assets/MFPS/Scripts/Network/Player/bl_PlayerNetwork.cs:177)
bl_PlayerNetwork.OnUpdate () (at Assets/MFPS/Scripts/Network/Player/bl_PlayerNetwork.cs:167)
MFPS.Internal.bl_UpdateManager.Update () (at Assets/MFPS/Scripts/Internal/General/bl_UpdateManager.cs:184)