Not working cached graphs when switching project from Android to iOS

We have android game and after the switch to iOS platform all cached graph datas are broken and must be rebaked to work as before platform switch. Is it possible to avoid rebaking of whole project?

UPD: i must add that toggle in Optimizations section to disable ZIP is enabled. After disabling it graphs can be loaded, but there is still the bug, because i want to have this flag enabled.


This is probably because compiler predicates are stored per-platform. You can find them in the Unity Player settings. If, somehow, the ASTAR_NO_ZIP predicate is not the same for all platforms, then serialization will break if you switch between them. The script tries to make it be the same on all platforms, so I’m not quite sure how it broke. You can edit the definitions manually in the Unity player settings, if you want.