PDA

View Full Version : Player pointers are throwing an error. GM pointers work fine.



CatDadCode
March 19th, 2020, 18:38
Player pointers have stopped working in FGU. When you try to draw a pointer as a player (via the radial menu or by clicking both mouse buttons) the following error is thrown:


[3/19/2020 11:35:49 AM] [<color="red">ERROR</color>] MOUSE UPDATE: System.NullReferenceException: Object reference not set to an instance of an object
at FMPJEDNFKON.PLCPJCJANDO () [0x0001b] in <7a4dba9528114197ad2e98c1febfd58f>:0
at FMPJEDNFKON.PDBFPNDFDKI (UnityEngine.Vector2 PEADALJAENB, UnityEngine.Vector2 ELNFFLFEHJG) [0x001a3] in <7a4dba9528114197ad2e98c1febfd58f>:0
at AEKKJAPPMPK.DEIIBJGPDON (UnityEngine.Vector2 DFPPPMAFBHB, UnityEngine.Vector2 BBLPAPFHBBE) [0x0006c] in <7a4dba9528114197ad2e98c1febfd58f>:0
at KGNOOCIONDH.ReceiveDragEnd (UnityEngine.Vector2 DFPPPMAFBHB, UnityEngine.Vector2 BBLPAPFHBBE) [0x0001b] in <7a4dba9528114197ad2e98c1febfd58f>:0
at LEECPKFJIAJ.PHPHBLGAMLB (UnityEngine.Vector2 JDKJAHPLHLL) [0x00009] in <7a4dba9528114197ad2e98c1febfd58f>:0
at LEECPKFJIAJ.PKJBEAGEEFK (System.Int32 OFIHBJJLLEO, System.Boolean GMFAHPJOIEO) [0x001dc] in <7a4dba9528114197ad2e98c1febfd58f>:0
at LEECPKFJIAJ.JIDMLNKADMN () [0x00064] in <7a4dba9528114197ad2e98c1febfd58f>:0
at FG.FGDesktop.OPILCLOHJGM () [0x00022] in <7a4dba9528114197ad2e98c1febfd58f>:0
at FG.FGDesktop.Update () [0x0004e] in <7a4dba9528114197ad2e98c1febfd58f>:0
[3/19/2020 11:35:58 AM] [<color="red">ERROR</color>] MOUSE UPDATE: System.NullReferenceException: Object reference not set to an instance of an object
at FMPJEDNFKON.PLCPJCJANDO () [0x0001b] in <7a4dba9528114197ad2e98c1febfd58f>:0
at FMPJEDNFKON.PDBFPNDFDKI (UnityEngine.Vector2 PEADALJAENB, UnityEngine.Vector2 ELNFFLFEHJG) [0x001a3] in <7a4dba9528114197ad2e98c1febfd58f>:0
at AEKKJAPPMPK.DEIIBJGPDON (UnityEngine.Vector2 DFPPPMAFBHB, UnityEngine.Vector2 BBLPAPFHBBE) [0x0006c] in <7a4dba9528114197ad2e98c1febfd58f>:0
at KGNOOCIONDH.ReceiveDragEnd (UnityEngine.Vector2 DFPPPMAFBHB, UnityEngine.Vector2 BBLPAPFHBBE) [0x0001b] in <7a4dba9528114197ad2e98c1febfd58f>:0
at LEECPKFJIAJ.PHPHBLGAMLB (UnityEngine.Vector2 JDKJAHPLHLL) [0x00009] in <7a4dba9528114197ad2e98c1febfd58f>:0
at LEECPKFJIAJ.PKJBEAGEEFK (System.Int32 OFIHBJJLLEO, System.Boolean GMFAHPJOIEO) [0x001dc] in <7a4dba9528114197ad2e98c1febfd58f>:0
at LEECPKFJIAJ.JIDMLNKADMN () [0x00076] in <7a4dba9528114197ad2e98c1febfd58f>:0
at FG.FGDesktop.OPILCLOHJGM () [0x00022] in <7a4dba9528114197ad2e98c1febfd58f>:0
at FG.FGDesktop.Update () [0x0004e] in <7a4dba9528114197ad2e98c1febfd58f>:0



This is true in both the Windows and Mac client. This is in a 5e campaign if that matters.

CatDadCode
March 19th, 2020, 19:01
I also noticed that the ability to clear your pointer by quickly clicking both mouse buttons without holding them down has been added which is great! However, that clearing action only works for the GM and does not clear the GM pointer on the player client. Unable to test the reverse due to the above issue.

Zacchaeus
March 19th, 2020, 19:07
I'm not seeing this (only connected via localhost mind you). Have both DM and players updated FGU to the latest version - there were some fixes to pointer issues in the last update. Goes without saying that you aren't using extensions and that the error is apparent in a new campaign?

CatDadCode
March 19th, 2020, 19:10
I don't use any extensions and both host and client are up to date. I'm seeing it on localhost as well as connecting with a real demo account from another computer. I'll test in a new campaign.

pindercarl
March 19th, 2020, 19:12
I also noticed that the ability to clear your pointer by quickly clicking both mouse buttons without holding them down has been added which is great! However, that clearing action only works for the GM and does not clear the GM pointer on the player client. Unable to test the reverse due to the above issue.

You can add a quick pointer by dragging with both the left and right mouse buttons down. Pressing both buttons again clears any existing quick pointer. It should have no effect on pointers created through the radial menu. Both the player and GM can create quick pointers using this method. You can use keys in combination with both-buttons to create different pointers. No key pressed is an arrow pointer. I think SHIFT is a box, CTRL is a circle, and ALT is a cone. I may not be remembering these correctly.

CatDadCode
March 19th, 2020, 19:27
Edit: Accidental double post.

CatDadCode
March 19th, 2020, 19:28
You can add a quick pointer by dragging with both the left and right mouse buttons down. Pressing both buttons again clears any existing quick pointer. It should have no effect on pointers created through the radial menu. Both the player and GM can create quick pointers using this method. You can use keys in combination with both-buttons to create different pointers. No key pressed is an arrow pointer. I think SHIFT is a box, CTRL is a circle, and ALT is a cone. I may not be remembering these correctly.

You're misunderstanding the issue. I'm about to upload a video that demonstrates both issues.

CatDadCode
March 19th, 2020, 19:29
Here you guys go: https://youtu.be/zRdnlV87o_c

pindercarl
March 19th, 2020, 19:34
Based on your console output, I did find that a null check was not being done where one should be done.

pindercarl
March 19th, 2020, 19:40
Here you guys go: https://youtu.be/zRdnlV87o_c

Ah. Your client doesn't have a character selected. I don't know if that is the issue, but it may be since pointers are ID'd by both user and PC. Thanks for the video.

Zacchaeus
March 19th, 2020, 19:46
I think the issue is you had no character selected in the client. I was following the steps in your video but I selected a character and didn't have an issue. When I noticed you had no character selected I went back and cleared the character and got your error.

pindercarl
March 19th, 2020, 19:49
Added as issue FGU-971.

CatDadCode
March 19th, 2020, 19:49
Ah. Your client doesn't have a character selected. I don't know if that is the issue, but it may be since pointers are ID'd by both user and PC. Thanks for the video.

You bet! You're right. It works with a character. So I guess pointers maybe just need to be disabled if there isn't one or something :)

CatDadCode
March 19th, 2020, 21:27
Now that I am able to draw pointers on player client again I've confirmed the reverse is true for the pointer issue.

Tapping both mouse buttons to clear player pointer does not clear it from the GM display nor other players' displays.

Note: Using the radial menu to delete pointers always updates properly on other machines. It's only the "quick clear" (tapping both mouse buttons) that doesn't.