Reply To: Adding node canvas increased IPA size by 7.5 MB

NodeCanvas Forums Support Adding node canvas increased IPA size by 7.5 MB Reply To: Adding node canvas increased IPA size by 7.5 MB

#11177
mmaratea
Participant

It would be very helpful if you guys would delta the IPA size when putting NodeCanvas on an empty project so your consumers have an idea of what to expect.

I’ve managed to reclaim about 5MB with the following changes.
1> Added #if UNITY_EDITOR to DocByReflection.cs to prevent adding System.XML to the runtime binary. This saved about 2.2MB in the combined IPA.
2> Removed the SyncBlackboard.cs since we don’t need it. This prevented UnityEngine.Networking (we rolled our own networking solution and don’t use the unity one) from being added to the binary saving ~ 3MB.

I’m sure there will be a bit more savings to be had but it would be nice to have a maintained doc showing memory usage and additional libraries required so we can make a more informed choice about what to include.