Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Unity2018.2.3 call java method crash

Discussion in 'Android' started by dongyiqi, Aug 13, 2018.

  1. dongyiqi


    Nov 7, 2017
    when i run the code under the latest unity version 2018.2.3f1 it cause a crash in IL2CPP build.
    AndroidJavaObject mapObj = new AndroidJavaObject("java.util.HashMap");
    mapObj.Call<string>("put", "publicKey", "keyabc");
    But everything goes OK on version 2018.1.3
    Is there anyone who know what's happened or it is a bug of unity engine~
  2. Evaldas_Unity


    Unity Technologies

    Jun 23, 2016