Search Unity

Bug Runtime Network Stats Monitor (RNSM) il2cpp error

Discussion in 'Multiplayer' started by zhuxianzhi, Dec 12, 2023.

  1. zhuxianzhi

    zhuxianzhi

    Joined:
    Mar 30, 2015
    Posts:
    122
    In release builds I added UNITY_MP_TOOLS_NET_STATS_MONITOR_ENABLED_IN_RELEASE.

    If the script backend is Mono it works normally, if it is IL2CPP no data is collected.

    managed strpping level: minimal

    I also added link.xml

    <linker>
    <assembly fullname="Unity.Multiplayer.Tools.*" preserve="all" />
    <assembly fullname="Unity.Netcode.*" preserve="all" />
    <assembly fullname="Unity.Networking.*" preserve="all" />
    </linker>

    Unity: 2022.3.13f1
    NGO: 1.7.1
    Multiplayer Tools:2.0.0-pre.5