Search Unity

BestHTTP, NullReferenceException: Object reference not set to an instance of an object

Discussion in 'Assets and Asset Store' started by Shankar-Ganesh, Jul 22, 2020.

  1. Shankar-Ganesh

    Shankar-Ganesh

    Joined:
    Sep 23, 2013
    Posts:
    32
    Hi @BestHTTP,

    We are using BestHTTP2 plugin version 2.0.6 with Unity LTS version 2019.4.2f1 and we are getting frequent exceptions from this plugin. Kindly guide on us with this issue.

    NullReferenceException: Object reference not set to an instance of an object

    BestHTTP.Connections.HTTP2.HTTP2Handler.ReadThread () (at Assets/Best HTTP/Source/Connections/HTTP2/HTTP2Handler.cs:495)

    BestHTTP.PlatformSupport.Threading.ThreadedRunner+<>c__DisplayClass4_0.<RunLongLiving>b__0 (System.Object param) (at Assets/Best HTTP/Source/PlatformSupport/Threading/ThreadedRunner.cs:83)

    System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <fb001e01371b4adca20013e0ac763896>:0)

    System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <fb001e01371b4adca20013e0ac763896>:0)

    System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <fb001e01371b4adca20013e0ac763896>:0)

    System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <fb001e01371b4adca20013e0ac763896>:0)

    System.Threading.ThreadHelper.ThreadStart (System.Object obj) (at <fb001e01371b4adca20013e0ac763896>:0)

    UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs) (at /Users/builduser/buildslave/unity/build/Runtime/Export/Scripting/UnhandledExceptionHandler.bindings.cs:46)
     
    MilenaRocha and psyhama like this.