Search Unity

Question [Burst] Warning on build A call to the method System.IntPtr.op_Explicit(long value)

Discussion in 'Entity Component System' started by iamarugin, Jun 10, 2021.

  1. iamarugin

    iamarugin

    Joined:
    Dec 17, 2014
    Posts:
    883
    A call to the method System.IntPtr.op_Explicit(long value) -> System.IntPtr_d1680da2a0b0cbde8fc87a1dffa3204b has been discarded, due to its use as an argument to a discarded method. Please see the user manual for ways to prevent this, or for how to disable this warning in this case.

    Could you please point out how to find what exactly was discarded?