Error Capture the flg

Support for MFPS 2.0
Post Reply
User avatar
kwsystems
Contributor
Contributor
Posts: 22
Joined: Sat May 02, 2020 11:43 am

Wed Jun 17, 2020 2:19 pm

Hi,

When entering the game I always get this error even though I am not playing capture de flag.

Code: Select all

NullReferenceException: Object reference not set to an instance of an object
bl_CaptureOfFlag.Initialize () (at Assets/MFPS/Scripts/GamePlay/GameModes/CaptureOfFlag/bl_CaptureOfFlag.cs:87)
bl_CaptureOfFlag.Awake () (at Assets/MFPS/Scripts/GamePlay/GameModes/CaptureOfFlag/bl_CaptureOfFlag.cs:27)
Thnaks
User avatar
Lovatto
Admin
Admin
Posts: 1493
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Wed Jun 17, 2020 3:41 pm

The same problem as your other post, you disabled the root of the UI which contains the script, so it can't be found, in this case, is the RoomScoreCTF, it has to be like this:
Image
User avatar
kwsystems
Contributor
Contributor
Posts: 22
Joined: Sat May 02, 2020 11:43 am

Thu Jun 18, 2020 7:46 am

Thanks it worked
Post Reply