Reply To: [NC2] Compile errors building v2.1 for WSA platform

Forums 💬 NodeCanvas ⚙️ Support [NC2] Compile errors building v2.1 for WSA platform Reply To: [NC2] Compile errors building v2.1 for WSA platform

#19202
pjohalloran
Participant

    Some of them are straightforward to fix by using or extending ReflectionTools. For example the error in Graph.cs on line 652.
    Changing
    bbParams.Add( typeof(Task).GetField("taskAgent", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(task) as BBParameter );
    To
    bbParams.Add( typeof(Task).RTGetField("taskAgent").GetValue(task) as BBParameter );

    Some of them not so much without digging into the code more.