Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Unity Error

Discussion in 'Editor & General Support' started by PlayArtsGames, Feb 21, 2022.

  1. PlayArtsGames


    Jan 4, 2022
    Hi everyone, everything fine? I'm having a problem with the 2017.1.3f1 drive

    I downloaded an MMORPG to study how all the game mechanics are done, update, server connection and everything else.
    I need to create it for 2017 because the current ones have a lot of error, if I study it in the 2017 version I will be able to change to the newest ones.
    When I start the game on unity everything goes well without any errors, it has the server connection, with the update.
    But when I create the APK it generates normal, but when I enter the game on my cell phone I get 2 errors. and on mobile the loading image does not appear.

    Autoconnected Player</i> Cleartext HTTP traffic to MYIP not permitted

    (Filename: ./PlatformDependent/AndroidPlayer/WebRequest/Transports/TransportAndroid.cpp Line: 394)

    Autoconnected Player</i> LuaException: java.lang.NoSuchMethodError: no non-static method with name='DeleteSplash' signature='()V' in class Ljava.lang.Object;
    stack traceback:
    [C]: in function 'CloseSplash'
    ../Assets/Game/Lua/init/init_loading_view.lua:55: in function 'SetupView'
    ../Assets/Game/Lua/init/init_loading_view.lua:45: in function <../Assets/Game/Lua/init/init_loading_view.lua:43>
    UnityEngine.AndroidJNISafe:CallStaticObjectMethod(IntPtr, IntPtr, jvalue[])
    UnityEngine.AndroidReflection:GetMethodMember(IntPtr, String, String, Boolean)
    UnityEngine._AndroidJNIHelper:GetMethodID(IntPtr, String, String, Boolean)
    UnityEngine.AndroidJavaObject:_Call(String, Object[])

    (Filename: currently not available on il2cpp Line: -1)

    Estou estudando esse projeto quem quiser conhecer, me passe no DISCORD, vou iniciar o jogo e mostro ele iniciando.


  2. sidney7111


    Jun 28, 2020
    就是用了一个android 的 jni, 你打的这个包(lua写的有问题,只是在android测试过)不能在os跑了
    国内的MMO都是同一个模板的 ,我的项目也是 init_loading_view.lua (方便说下你的mmo 名字吗?)

    comone, is there some english words is clearly?
    your code use an Android jni function, which means that you package may not run in IOS (it's the lua code logic problem, they just tested in Android platfrom , it's Chinese MMO!! Chinese comercial team did it)
    You have to remark these error JNI code (and you also have to write external codes, because these code are important for login in, you should not just remark them as usual)
    All there MMO code obviousely are made by the same template, my project did use "init_loading_view.lua "as well,
    Do you mind let us know your MMO name?
    Everyone who did not create MMO game before are usually very confident to think they could handle therse MMO Game Code well, but it is not True.