Errors and crash caused by Add Ons Manager

Cheo

Active member
Hello, I'm currently still in the process of setting up an online battle royale game and had to go through the Add Ons Manager several times to set up various scenes and objects, but on several occasions after clicking on one of the setup buttons (especially the Pun ones) the following error got repeatedly thrown in the console every frame with no possibility of making it go away. When closing the project at this point Unity crashes.

Code:
[Exception] NullReferenceException: Object reference not set to an instance of an object
AddOnsManager+AvailableAddOn.WaitForIconWebRequest() at /Opsive/UltimateCharacterController/Editor/Managers/AddOnsManager.cs:313
 311:  private void WaitForIconWebRequest()
 312:  {
--> 313:      if (m_IconRequest.isDone) {
 314:          if (string.IsNullOrEmpty(m_IconRequest.error)) {
 315:              m_Icon = m_TextureDownloadHandler.texture;

EditorApplication.Internal_CallUpdateFunctions() at <9920ff0c944845d7b9f9a61ef1478edc>:0

I can still resume working when reopening the project, but still this isn't normal. The strange part is that this is only happening in my current battle royale project, not in other projects. If that changes anything, it's using Unity 2022.3.11f1 and URP.
 
Top