Jump to content

Massive error when certain people click on random items

Closed 1.2.7 1.2.8

steampunkvalley

Posted

massive error when certain people click on random items. This happened to me when I tried to craft a boat. It happened 10 or so times to a player last night when trying to purchase a heli signal. Below is the error in console

 

10/09 18:14:59 | 76.17.226.35:56339/76561198075606580/Desdaa disconnecting: RPC Error in AddUI: Object reference not set to an instance of an object. at CommunityEntity.%a13240ee3a56250e3214643a1e9787d080183e2c (UnityEngine.GameObject %e452c63bf864bf54b08e09072ea03742eca455a2, %e8dbd2ba4eb107021c89511d28a9b46d39e0c700 %3eef772d1ba28af9c95a2990ab4956bcab5e94da, System.Boolean %2b5483ad8071fe734321abc36a50a5647e04b52b) [0x00000] in <00000000000000000000000000000000>:0 at CommunityEntity.%726cc31c74b0cbac7bce9dbe2bd32560027d0835 (BaseEntity+%6f52d081f4165e068c7159d385110bb2cf9081b4 %cea4674a2583ecf8563f056ee74c60c0143ac001) [0x00000] in <00000000000000000000000000000000>:0 at CommunityEntity.%13c83f0d971f1a4de169ca6ba82c9a1c8bacfe4f (BasePlayer %08847a64423720901e671cd24a77415a42e83ae2, System.UInt32 %22338b5d18a5c125aeaa6c1b6e5def0b5dfa5ff5, %e6cb5c3bef8976bea26da25fba88387f6c3166d2 %cea4674a2583ecf8563f056ee74c60c0143ac001) [0x00000] in <00000000000000000000000000000000>:0 at BaseEntity.%936d46ee5f4f518a2c6b120948a3b10e97bb1ed0 (System.UInt32 %fa1ec6d34877d0d45d7b21f69b5a5a44e5efd65e, %e6cb5c3bef8976bea26da25fba88387f6c3166d2 %574f9d798bf99f6c8d619c1e0b4264df0a18a17c) [0x00000] in <00000000000000000000000000000000>:0 at Client.%9da00ac73ba3e4c8d5efb5df7e9dd240937e9e76 (%e6cb5c3bef8976bea26da25fba88387f6c3166d2 %2b6d42d01d9384d69706a0c9591a8313532fed1e) [0x00000] in <00000000000000000000000000000000>:0 at Client.%140c721df47200d0b153707379e1483580e0164e (%e6cb5c3bef8976bea26da25fba88387f6c3166d2 %2b6d42d01d9384d69706a0c9591a8313532fed1e) [0x00000] in <00000000000000000000000000000000>:0 at %e3aa0ae5abc9ce69bc0fccd78ee17be9810eedff.%3486fd2176a5e467a00ec00e25fc16c80a10dc09 (%492e49d0fb78b6c04c7cfe219245ab1f68f2e39f %4ab057eaf21efc7bedf986e232dd18b435a2d231) [0x00000] in <00000000000000000000000000000000>:0 at %988293bae173eb737280d94c291405c060dbb2ba.%6af47bb8b6402ced92e46d148aaad7f79453cfcd () [0x00000] in <00000000000000000000000000000000>:0 at Client.Update () [0x00000] in <00000000000000000000000000000000>:0

 

image.png

MTriper

Posted

Are you using oxide or carbon?

MTriper

Posted

You're the first person to come forward with this problem. If this error is intermittent, it will be very difficult to trace.

DeutscherRitterPlatz

Posted

On 10/10/2024 at 9:20 AM, MTriper said:

You're the first person to come forward with this problem. If this error is intermittent, it will be very difficult to trace.

Today, my community reported it too; we use Carbon. However, it doesn’t affect every player.

MTriper

Posted

1 hour ago, DeutscherRitterPlatz said:

Today, my community reported it too; we use Carbon. However, it doesn’t affect every player.

Please clarify with your players how they got this error? I can't reproduce it.

DeutscherRitterPlatz

Posted (edited)

8 hours ago, MTriper said:

Please clarify with your players how they got this error? I can't reproduce it.

I haven’t been able to reproduce the error myself, which, of course, makes it difficult to identify the exact cause. The issue occurs when the user switches between categories. So far, only two users have reported it, while over 50 others haven’t encountered any problems.

 

[2024-10-11] strauch547 disconnecting: 
Exception (cs:105864): NullReferenceException: Object reference not set to an instance of an object. 
CommunityEntity.%d73268feaf770e1844502c198d9421e39b96fdc6 (UnityEngine.GameObject %4ad58019ad20e867b142cb49d884eb6fcf137792, 
%25b4321630cf0b78e1f0b5b5fe7a4531434cd87a %95b897416a8ac85d693cca5382cd19d411e9f8b2,
System.Boolean %752e47b87d0fa4edfae0296ca2ff1ab3e281895d) (at <00000000000000000000000000000000>:0) 
CommunityEntity.%33cae5369d7e4bdf3401943bf0c2fbaf4b63be5a (BaseEntity+%acafe24842ea0b44ba56c9ca1a94be24011e2f94 %519c6063cbd70b6990ae13dc2d988c03a38843fc) (at <00000000000000000000000000000000>:0) 
CommunityEntity.%d7874814e4f3e768008adbb32249e6cf01036a34 (BasePlayer %febfa807e80ca64d5494186b0265b4a653ec9455, System.UInt32 %33d75827956b38e2bf41d1952c524052efc84446, %3c7ca37507af78a90f12e68583a1f47155d49c54 %519c6063cbd70b6990ae13dc2d988c03a38843fc) 
(at <00000000000000000000000000000000>:0) Client.%9be564d4435f1918a95fb9fcfd7a430591c9c223 (%3c7ca37507af78a90f12e68583a1f47155d49c54 %01b2865c7a7e50089c7ea1255e3f9d38594c5001)
(at <00000000000000000000000000000000>:0) %2275196eb1674700c3ec0b7305f9e4e3abe71711.%cc86e4451bdc73cba37576874a20109784c0a1b7 (%df48b09fdd871372361f21392998b234ed0d9dab %c91ff235f3015aa51b34d053c9e45bb972e0fd2c) 
(at <00000000000000000000000000000000>:0) %9c6d5c0abc806f4c4404c4e7f98b73754f791752.%88ad4c9c210cb359aa321f9a3e3b4f50588cf5ad () (at <00000000000000000000000000000000>:0) Client.Update () 
(at <00000000000000000000000000000000>:0) UnityEngine.Debug:LogException(Exception) 
CommunityEntity:%d7874814e4f3e768008adbb32249e6cf01036a34(BasePlayer, UInt32, %3c7ca37507af78a90f12e68583a1f47155d49c54) 
Client:%9be564d4435f1918a95fb9fcfd7a430591c9c223(%3c7ca37507af78a90f12e68583a1f47155d49c54) %2275196eb1674700c3ec0b7305f9e4e3abe71711:%cc86e4451bdc73cba37576874a20109784c0a1b7(%df48b09fdd871372361f21392998b234ed0d9dab) 
%9c6d5c0abc806f4c4404c4e7f98b73754f791752:%88ad4c9c210cb359aa321f9a3e3b4f50588cf5ad() Client:Update()

I also encountered this error, but I’m not sure if it’s related.

[2024.10.11 17:09:44] [ERRO] Failed executing chat command 'craft' in 'CraftingPanel v1.2.7 by MTriper' [callback] (Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index)
   at SectionItem System.Collections.Generic.List<Oxide.Plugins.CraftingPanel+SectionItem>.get_Item(int index)
   at void Oxide.Plugins.CraftingPanel+CraftingQueueController.ItemsSection(SectionItem sectionItem, bool isFirstOpen, bool isSearch) in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 2444
   at void Oxide.Plugins.CraftingPanel+CraftingQueueController.ButtonsSection(Section section, bool isFirstOpen, bool thisOnly) in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 2418
   at void Oxide.Plugins.CraftingPanel+CraftingQueueController.MainPanel() in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 2236
   at void Oxide.Plugins.CraftingPanel.OpenPanelCommand(BasePlayer player) in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 1152
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)

P.S: A player from my community mentioned that he also had the problem and it was due to poor internet. After he restarted the router, the problem no longer occurred.

Edited by DeutscherRitterPlatz
MTriper

Posted

21 hours ago, DeutscherRitterPlatz said:

I haven’t been able to reproduce the error myself, which, of course, makes it difficult to identify the exact cause. The issue occurs when the user switches between categories. So far, only two users have reported it, while over 50 others haven’t encountered any problems.

 

[2024-10-11] strauch547 disconnecting: 
Exception (cs:105864): NullReferenceException: Object reference not set to an instance of an object. 
CommunityEntity.%d73268feaf770e1844502c198d9421e39b96fdc6 (UnityEngine.GameObject %4ad58019ad20e867b142cb49d884eb6fcf137792, 
%25b4321630cf0b78e1f0b5b5fe7a4531434cd87a %95b897416a8ac85d693cca5382cd19d411e9f8b2,
System.Boolean %752e47b87d0fa4edfae0296ca2ff1ab3e281895d) (at <00000000000000000000000000000000>:0) 
CommunityEntity.%33cae5369d7e4bdf3401943bf0c2fbaf4b63be5a (BaseEntity+%acafe24842ea0b44ba56c9ca1a94be24011e2f94 %519c6063cbd70b6990ae13dc2d988c03a38843fc) (at <00000000000000000000000000000000>:0) 
CommunityEntity.%d7874814e4f3e768008adbb32249e6cf01036a34 (BasePlayer %febfa807e80ca64d5494186b0265b4a653ec9455, System.UInt32 %33d75827956b38e2bf41d1952c524052efc84446, %3c7ca37507af78a90f12e68583a1f47155d49c54 %519c6063cbd70b6990ae13dc2d988c03a38843fc) 
(at <00000000000000000000000000000000>:0) Client.%9be564d4435f1918a95fb9fcfd7a430591c9c223 (%3c7ca37507af78a90f12e68583a1f47155d49c54 %01b2865c7a7e50089c7ea1255e3f9d38594c5001)
(at <00000000000000000000000000000000>:0) %2275196eb1674700c3ec0b7305f9e4e3abe71711.%cc86e4451bdc73cba37576874a20109784c0a1b7 (%df48b09fdd871372361f21392998b234ed0d9dab %c91ff235f3015aa51b34d053c9e45bb972e0fd2c) 
(at <00000000000000000000000000000000>:0) %9c6d5c0abc806f4c4404c4e7f98b73754f791752.%88ad4c9c210cb359aa321f9a3e3b4f50588cf5ad () (at <00000000000000000000000000000000>:0) Client.Update () 
(at <00000000000000000000000000000000>:0) UnityEngine.Debug:LogException(Exception) 
CommunityEntity:%d7874814e4f3e768008adbb32249e6cf01036a34(BasePlayer, UInt32, %3c7ca37507af78a90f12e68583a1f47155d49c54) 
Client:%9be564d4435f1918a95fb9fcfd7a430591c9c223(%3c7ca37507af78a90f12e68583a1f47155d49c54) %2275196eb1674700c3ec0b7305f9e4e3abe71711:%cc86e4451bdc73cba37576874a20109784c0a1b7(%df48b09fdd871372361f21392998b234ed0d9dab) 
%9c6d5c0abc806f4c4404c4e7f98b73754f791752:%88ad4c9c210cb359aa321f9a3e3b4f50588cf5ad() Client:Update()

I also encountered this error, but I’m not sure if it’s related.

[2024.10.11 17:09:44] [ERRO] Failed executing chat command 'craft' in 'CraftingPanel v1.2.7 by MTriper' [callback] (Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index)
   at SectionItem System.Collections.Generic.List<Oxide.Plugins.CraftingPanel+SectionItem>.get_Item(int index)
   at void Oxide.Plugins.CraftingPanel+CraftingQueueController.ItemsSection(SectionItem sectionItem, bool isFirstOpen, bool isSearch) in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 2444
   at void Oxide.Plugins.CraftingPanel+CraftingQueueController.ButtonsSection(Section section, bool isFirstOpen, bool thisOnly) in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 2418
   at void Oxide.Plugins.CraftingPanel+CraftingQueueController.MainPanel() in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 2236
   at void Oxide.Plugins.CraftingPanel.OpenPanelCommand(BasePlayer player) in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 1152
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)

P.S: A player from my community mentioned that he also had the problem and it was due to poor internet. After he restarted the router, the problem no longer occurred.

Can you private message me the config from the video?

MTriper

Posted

On 10/11/2024 at 6:21 PM, DeutscherRitterPlatz said:

I haven’t been able to reproduce the error myself, which, of course, makes it difficult to identify the exact cause. The issue occurs when the user switches between categories. So far, only two users have reported it, while over 50 others haven’t encountered any problems.

 

[2024-10-11] strauch547 disconnecting: 
Exception (cs:105864): NullReferenceException: Object reference not set to an instance of an object. 
CommunityEntity.%d73268feaf770e1844502c198d9421e39b96fdc6 (UnityEngine.GameObject %4ad58019ad20e867b142cb49d884eb6fcf137792, 
%25b4321630cf0b78e1f0b5b5fe7a4531434cd87a %95b897416a8ac85d693cca5382cd19d411e9f8b2,
System.Boolean %752e47b87d0fa4edfae0296ca2ff1ab3e281895d) (at <00000000000000000000000000000000>:0) 
CommunityEntity.%33cae5369d7e4bdf3401943bf0c2fbaf4b63be5a (BaseEntity+%acafe24842ea0b44ba56c9ca1a94be24011e2f94 %519c6063cbd70b6990ae13dc2d988c03a38843fc) (at <00000000000000000000000000000000>:0) 
CommunityEntity.%d7874814e4f3e768008adbb32249e6cf01036a34 (BasePlayer %febfa807e80ca64d5494186b0265b4a653ec9455, System.UInt32 %33d75827956b38e2bf41d1952c524052efc84446, %3c7ca37507af78a90f12e68583a1f47155d49c54 %519c6063cbd70b6990ae13dc2d988c03a38843fc) 
(at <00000000000000000000000000000000>:0) Client.%9be564d4435f1918a95fb9fcfd7a430591c9c223 (%3c7ca37507af78a90f12e68583a1f47155d49c54 %01b2865c7a7e50089c7ea1255e3f9d38594c5001)
(at <00000000000000000000000000000000>:0) %2275196eb1674700c3ec0b7305f9e4e3abe71711.%cc86e4451bdc73cba37576874a20109784c0a1b7 (%df48b09fdd871372361f21392998b234ed0d9dab %c91ff235f3015aa51b34d053c9e45bb972e0fd2c) 
(at <00000000000000000000000000000000>:0) %9c6d5c0abc806f4c4404c4e7f98b73754f791752.%88ad4c9c210cb359aa321f9a3e3b4f50588cf5ad () (at <00000000000000000000000000000000>:0) Client.Update () 
(at <00000000000000000000000000000000>:0) UnityEngine.Debug:LogException(Exception) 
CommunityEntity:%d7874814e4f3e768008adbb32249e6cf01036a34(BasePlayer, UInt32, %3c7ca37507af78a90f12e68583a1f47155d49c54) 
Client:%9be564d4435f1918a95fb9fcfd7a430591c9c223(%3c7ca37507af78a90f12e68583a1f47155d49c54) %2275196eb1674700c3ec0b7305f9e4e3abe71711:%cc86e4451bdc73cba37576874a20109784c0a1b7(%df48b09fdd871372361f21392998b234ed0d9dab) 
%9c6d5c0abc806f4c4404c4e7f98b73754f791752:%88ad4c9c210cb359aa321f9a3e3b4f50588cf5ad() Client:Update()

I also encountered this error, but I’m not sure if it’s related.

[2024.10.11 17:09:44] [ERRO] Failed executing chat command 'craft' in 'CraftingPanel v1.2.7 by MTriper' [callback] (Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index)
   at SectionItem System.Collections.Generic.List<Oxide.Plugins.CraftingPanel+SectionItem>.get_Item(int index)
   at void Oxide.Plugins.CraftingPanel+CraftingQueueController.ItemsSection(SectionItem sectionItem, bool isFirstOpen, bool isSearch) in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 2444
   at void Oxide.Plugins.CraftingPanel+CraftingQueueController.ButtonsSection(Section section, bool isFirstOpen, bool thisOnly) in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 2418
   at void Oxide.Plugins.CraftingPanel+CraftingQueueController.MainPanel() in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 2236
   at void Oxide.Plugins.CraftingPanel.OpenPanelCommand(BasePlayer player) in C:/MGCDRP/RustPvE/carbon/plugins/CraftingPanel.cs:line 1152
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)

P.S: A player from my community mentioned that he also had the problem and it was due to poor internet. After he restarted the router, the problem no longer occurred.

I was able to reproduce both of your errors. 
The error with player disconnection I found after watching your video. It happens because when you go through the categories you search in each category (the search field is highlighted in color). Why do you have the search field highlighted when opening categories? I don't have this on my test server.

DeutscherRitterPlatz

Posted

1 hour ago, MTriper said:

I was able to reproduce both of your errors. 
The error with player disconnection I found after watching your video. It happens because when you go through the categories you search in each category (the search field is highlighted in color). Why do you have the search field highlighted when opening categories? I don't have this on my test server.

Sorry for the late message. I’m not sure why this is happening with this particular user. I’ll check on my end again to see if it occurs here as well.
The problem persists even when we use the standard configuration. However, it only seems to affect one user.

MTriper

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.2.8

steampunkvalley

Posted

Howdy,

We are still getting this error on version 1.2.9, it is just a lot less frequent.  It seems to be a race condition between the search happening and a player going into the same or different category while the search is still going.  

I was able to modify a few lines of the code to make it stop the crash from happening.  You can see by the attached error, it doesn't like updating the search box if it has an image.  This is where I think the race condition is happening.  So instead of updating the search UI when a search is done, it just destroys and recreates it.

Error we were receiving:

image.png.1a069a65e2a1482d3a17f743a2d552e5.png

Modify the ItemsSearch coroutine with the following lines:

image.png.0418992908156f95f854a5c0bf3f3309.png

steampunkvalley

Posted

Thank you for updating the plugin - that issue seems to be resolved.

We have a new issue, however. One player in particular, who had the same crashing issue as described above, can't craft anything. Please see attached video. You can see the search bar is selected as soon as the panel appears. Even if he clicks elsewhere and removes the search bar being selected, when he selects an item, he has the same issue. He removed all key binds and verified the integrity of his files. 

So far no one else has reported this issue.

MTriper

Posted

4 hours ago, steampunkvalley said:

Thank you for updating the plugin - that issue seems to be resolved.

We have a new issue, however. One player in particular, who had the same crashing issue as described above, can't craft anything. Please see attached video. You can see the search bar is selected as soon as the panel appears. Even if he clicks elsewhere and removes the search bar being selected, when he selects an item, he has the same issue. He removed all key binds and verified the integrity of his files.

So far no one else has reported this issue.

Hi, I don't understand why you have the search box becoming automatically active. I don't have it and never have. And I forced it so that it was not active when loading, but you still have it for some reason. I have to figure it out.

 

MTriper

Posted

Are you using oxide or carbon?

steampunkvalley

Posted

I don't have the issue either, so I'm not sure how he is having the problem. We are using Carbon. Can you provide the option to disable the search function in the config?

MTriper

Posted

6 minutes ago, steampunkvalley said:

I don't have the issue either, so I'm not sure how he is having the problem. We are using Carbon. Can you provide the option to disable the search function in the config?

I will try to fix this bug in the next update.

MTriper

Posted

Try doing this in the lang file: "SEARCH": "",

steampunkvalley

Posted

Ayee! Seems like that worked for the player having the issues. Thanks for your help!

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.