Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

App Crash on Launch

Discussion in 'Scripting' started by Mashimaro7, Mar 2, 2021.

  1. Mashimaro7

    Mashimaro7

    Joined:
    Apr 10, 2020
    Posts:
    723
    I have an game that I'm designing and for some reason it's been crashing on launch...

    I've had this issue before with another app, but it was cause of some conflicts with admob, I don't have admob or any external plugins. It's strange, it plays in the editor just fine, and builds with no issue. But when I try it on a phone or bluestacks it crashes before even displaying the Unity logo.

    I've built this app just fine in the past, I didn't change any settings or anything. Could someone help me figure this out?

    Thanks in advance.

    Edit: Also strangely, I tried a build and run, but it doesn't crash immediately, but it does crash after a little bit. If I then, build the apk and try and install it, it crashes before displaying anything :/
     
    Last edited: Mar 2, 2021
  2. Mashimaro7

    Mashimaro7

    Joined:
    Apr 10, 2020
    Posts:
    723
    I ran a logcat, and I'm getting
    Code (CSharp):
    1. 2021-03-02 16:53:02.664 13320-13349/com.DefaultCompany.FishFeud E/vulkan: invalid vkGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInstanceVersion") call
    And

    Code (CSharp):
    1. 2021-03-02 16:53:02.418 13320-13349/com.DefaultCompany.FishFeud E/Unity: Socket: connect failed, error: Operation now in progress(115)
    2. 2021-03-02 16:53:02.419 13320-13349/com.DefaultCompany.FishFeud E/Unity: Connect failed for direct socket. Ip=192.168.1.38, port=34999
    3. 2021-03-02 16:53:02.419 13320-13349/com.DefaultCompany.FishFeud E/Unity: Connecting to host time out, player connection will be disabled.
    Repeatedly as it is initializing...

    But I'm not sure what any of this means
     
  3. Mashimaro7

    Mashimaro7

    Joined:
    Apr 10, 2020
    Posts:
    723
    Please, does somebody know how to fix this?
     
    Last edited: Mar 3, 2021
  4. Mashimaro7

    Mashimaro7

    Joined:
    Apr 10, 2020
    Posts:
    723
    Sorry to keep bumping, but I need help with this...
     
  5. DrHerringbone

    DrHerringbone

    Joined:
    Jan 3, 2021
    Posts:
    13
    I also need help with this. My app doesnt crash but it is leading to the following error! So bump bump bump.

    Code (CSharp):
    1. 2021-08-03 17:36:23.484 5321-5356/com.DrHerringbone.ToneTraveler E/vulkan: invalid vkGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInstanceVersion") call
    2. 2021-08-03 17:36:27.832 5321-5356/com.DrHerringbone.ToneTraveler E/Unity: MissingMethodException: UnityEngine.Experimental.Rendering.BuiltinRuntimeReflectionSystem::BuiltinUpdate()
    3.       at UnityEngine.Experimental.Rendering.BuiltinRuntimeReflectionSystem.TickRealtimeProbes () [0x00001] in /Users/bokken/buildslave/unity/build/Runtime/Export/Camera/BuiltinRuntimeReflectionSystem.bindings.cs:11
    4.       at UnityEngine.Experimental.Rendering.ScriptableRuntimeReflectionSystemWrapper.Internal_ScriptableRuntimeReflectionSystemWrapper_TickRealtimeProbes (System.Boolean& result) [0x00010] in /Users/bokken/buildslave/unity/build/Runtime/Export/Camera/ScriptableRuntimeReflectionSystemWrapper.cs:13
    5.  
    6. the worst part is I dont even have any reflection probes ahhhh
     
  6. Mashimaro7

    Mashimaro7

    Joined:
    Apr 10, 2020
    Posts:
    723
    I was able to fix it, but can't remember what I did. I think my issue was completely different than yours though :(
     
    DrHerringbone likes this.
  7. DrHerringbone

    DrHerringbone

    Joined:
    Jan 3, 2021
    Posts:
    13
    It's all good. It's always nice to know that theres a light at the end of most tunnels even if your tunnel is different than mine lol. It seems there's some general bugginess around ILL2CPP and GLE3 or Arm64.
     
    Mashimaro7 likes this.