NodeCanvas Forums › Support › AOTClassesGenerator creates wrong Type names for Nested Types
If the preferred types list contains a nested type, e.g.
then the AOTClassesGenerator will put lines like the following into the AOTClasses.cs:
class NodeCanvas_Framework_Variable_Bar : NodeCanvas.Framework.Variable<Foo+Bar>{}
which, because of the +, isn’t liked very much by the compiler.
NC 2.6.2 / Unity 5.5.0p3
Thanks for the report. While a bit dirty, a quick fix would be to do this by the end of the GenerateAOTClasses method of AOTClassesGenerator.cs:
I can’t think of any reason for this to not work in all cases right now 🙂
Join us on Discord: https://discord.gg/97q2Rjh
Username
Password
Remember Me
By registering on this website you agree to our Privacy Policy.
Email
Confirm Password
Username or Email