Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Bug Webgl/IL2CPP isn't allowing my request...?

Discussion in 'Web' started by NetworkingServices, Nov 2, 2022.

  1. NetworkingServices

    NetworkingServices

    Joined:
    Mar 28, 2022
    Posts:
    20
    Hello, I'm trying to setup my auth for IL2CPP and it does not want to work. It works fine with mono but not IL2CPP. I know one of the issues was a threading issue, so I removed System.Threading.

    Now, I'm being faced with these issues:
    *Things in the blue outline/box is what happens on load.
    *Things in the green outline/box is what happens when I press login
    upload_2022-11-1_21-37-36.png


    Below is the code that gets ran on start.
    *First image shows the init function. This gets called on start.
    *The second image is the actual request (the api connecting to the server)
    upload_2022-11-1_21-40-14.png
    upload_2022-11-1_21-39-36.png


    If anyone knows any reasons/ideas for why this isn't working it would be much appreciated! I was trying to figure it out a while ago but I stopped, but now I'm back at it because I want to provide a better login system for the Unity community. Thanks.
     
  2. NetworkingServices

    NetworkingServices

    Joined:
    Mar 28, 2022
    Posts:
    20
    Update, I remember a support member told me webgl does not support this:

    upload_2022-11-2_1-5-3.png

    So, I removed the Process.GetCurrentProcess... but it's still not working. But works fine for mono. The chechsum is this:
    upload_2022-11-2_1-6-12.png
     
  3. buenaondacollective

    buenaondacollective

    Joined:
    Nov 14, 2023
    Posts:
    2
    Hi I'm trying to build and run my project using Web GL I have the latest LTS and the IL2CPP fasterruntime check box is simply not appearing. Does any one know how to resolve this? Please help!