0

my Unity project only supports Windows & Ios but when i want to add my project to support android multiple error occurred, especially with screensizecontroller script, and most of errors are NullReferenceException: Object reference not set to an instance of an object to all objects, i do build the APK they the white screen shows only.

This is my code where i'm having the issue at :

public void setNewSize(int width,int height){
    Screen.SetResolution (width,height,false);      
    Update();
}

void Update () {    
    
    // have to work with resolution here not width/height
    if ((Screen.width != lastWidth || Screen.height != lastHeight || Screen.fullScreen != lastFullScreen) && onResolutionChange != null) {                      
        if (Screen.fullScreen && lastFullScreen)
            return;
        
        setResolutionToActualSizeAndSendEvent();
    }
}

void setResolutionToActualSizeAndSendEvent () {             
    Debug2.LogDebug("setResolutionToActualSizeAndSendEvent current resolution   " + Screen.currentResolution);
    lastWidth = Screen.width;
    lastHeight = Screen.height;
    lastFullScreen = Screen.fullScreen;
    if (Screen.width < PropertiesSingleton.instance.screen.minWidth || Screen.height < PropertiesSingleton.instance.screen.minHeight){
        scaleScreenAndSendEvent ();
    }else{
        IntVector2 resolution;
        if(Screen.fullScreen){
            Resolution maxRes= Screen.resolutions[Screen.resolutions.Length-1];                             
            Screen.SetResolution (maxRes.width,maxRes.height,true);
            Debug2.LogDebug("trying to change to full screen"); 
            resolution = new IntVector2(maxRes.width, maxRes.height);
        } else {
            Screen.SetResolution(Screen.width,Screen.height,false);
            resolution=new IntVector2 (Screen.width,Screen.height);             
        }
        sendEventOnResolutionChange (resolution, new Vector2(1.0f, 1.0f));
    }
}

void scaleScreenAndSendEvent () {
    Debug2.LogDebug("scaleScreenAndSendEvent ");
    float ratio;
    Resolution maxRes= Screen.resolutions[Screen.resolutions.Length-1];
    if (Screen.fullScreen)
        ratio = (float)maxRes.width / (float)maxRes.height;
    else
        ratio = (float)Screen.width / (float)Screen.height;
    float normalRatio = PropertiesSingleton.instance.screen.normalAspect;
    IntVector2 newResolution;
    if (ratio < normalRatio){
        float newWidth= ratio * (float)PropertiesSingleton.instance.screen.minHeight;
        float newHeight = PropertiesSingleton.instance.screen.minHeight;
        if (newWidth < PropertiesSingleton.instance.screen.minWidth){
            newWidth = PropertiesSingleton.instance.screen.minWidth;
            newHeight = PropertiesSingleton.instance.screen.minWidth / ratio; 
        }           
        newResolution = new IntVector2 (newWidth,newHeight);            
    } else {
        float newWidth = PropertiesSingleton.instance.screen.minWidth;
        float newHeight = PropertiesSingleton.instance.screen.minWidth / ratio;
        if (newHeight < PropertiesSingleton.instance.screen.minHeight){
            newHeight = PropertiesSingleton.instance.screen.minHeight;
            newWidth  = newHeight * ratio;
        }           
        newResolution = new IntVector2 (newWidth, newHeight);           
    }
    Vector2 scale; 
    if (Screen.fullScreen)
        scale = new Vector2 ( (float)maxRes.width  / (float)newResolution.x,
                      (float)maxRes.height / (float)newResolution.y);
    else
        scale = new Vector2 ( (float)Screen.width  / (float)newResolution.x,
                      (float)Screen.height / (float)newResolution.y);
    Screen.SetResolution (newResolution.x, newResolution.y, Screen.fullScreen);
    sendEventOnResolutionChange(newResolution,scale);
}

void sendEventOnResolutionChange(IntVector2 resolution, Vector2 scale){
    Debug2.LogDebug("sendEventOnResolutionChange  resolution = "+resolution.ToString()+"   scale ="+scale);
    if (onResolutionChange!=null)
        onResolutionChange(resolution,scale);
}

}

the error i'm getting is :

021-06-13 19:31:53.595 19326-19351/com.Coloring.Book E/Unity: IndexOutOfRangeException: Array index is out of range.
      at ScreenSizeController.setResolutionToActualSizeAndSendEvent () [0x00000] in <filename unknown>:0 
      at ScreenSizeController.Update () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:31:53.652 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:31:56.120 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:31:56.162 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:31:56.552 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:31:56.591 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:00.025 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:00.062 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:01.144 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:01.181 1685-1701/system_process E/memtrack: Couldn't load memtrack module
2021-06-13 19:32:01.182 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:03.931 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:03.968 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:11.163 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:11.186 1685-1701/system_process E/memtrack: Couldn't load memtrack module
2021-06-13 19:32:11.201 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:21.503 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:21.540 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:21.575 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:26.166 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:26.185 1685-1701/system_process E/memtrack: Couldn't load memtrack module
2021-06-13 19:32:26.204 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:59.106 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:32:59.143 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:03.951 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:03.989 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:32.299 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:32.337 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:33.312 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:33.349 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:34.323 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:34.361 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:35.337 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:35.373 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:36.350 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:36.387 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:37.362 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:37.399 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:38.373 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:38.411 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:39.385 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:39.423 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:40.398 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:40.435 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:49.116 1685-1705/system_process E/BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
2021-06-13 19:33:50.452 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:33:50.486 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:34:01.189 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:34:01.195 1685-1701/system_process E/memtrack: Couldn't load memtrack module
2021-06-13 19:34:01.226 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:34:03.937 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:34:03.973 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:02.423 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:02.453 2112-19395/com.google.android.gms.persistent E/memtrack: Couldn't load memtrack module
2021-06-13 19:35:02.460 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:02.496 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:02.531 2112-18140/com.google.android.gms.persistent E/WakeLock: GCM_HB_ALARM release without a matched acquire!
2021-06-13 19:35:02.535 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:03.943 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:03.977 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:06.545 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:06.578 2352-19397/com.google.android.gms E/memtrack: Couldn't load memtrack module
2021-06-13 19:35:06.581 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:08.499 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:08.564 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:08.570 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:08.606 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:11.408 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:11.445 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:12.064 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:12.095 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:20.056 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:20.157 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:20.187 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:22.472 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:22.509 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:43.300 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:43.336 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:51.542 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:51.599 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:35:51.633 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:36:01.180 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:36:01.203 1685-1701/system_process E/memtrack: Couldn't load memtrack module
2021-06-13 19:36:01.214 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
2021-06-13 19:36:03.963 19326-19351/com.Coloring.Book E/Unity: NullReferenceException: Object reference not set to an instance of an object
      at BottomMenu.OnGUI () [0x00000] in <filename unknown>:0 
      at MainOnGUI.OnGUI () [0x00000] in <filename unknown>:0 

0 Answers0