Open NoTuxNoBux opened 3 years ago
I realize this is off topic, but I can’t find any explanation for why baking isn’t supported on WSA. Is there any record of why this can’t be done or what work would need to be done to add baking?
I'd also like to know why this isn't supported. Is it any different than other IL2CPP-only build targets? Is it due to winmd support being special or something else entirely?
@Holo-Krzysztof I recently just commented out the warning/exit from the baking function and managed to build and run with baking on. I haven't done much more investigation, but it wasn't obviously broken. 🤷
Describe the bug Reflection baking shows warnings about it not being supported are displayed on UWP, even when it is disabled entirely.
To Reproduce
Expected behavior No warnings are shown, as reflection baking is disabled.
They should only be displayed if it is enabled and baking cannot be performed because the target platform does not support it.
Extenject and Unity info (please complete the following information):
Additional context
ReflectionBakingBuildObserver
seems to readZenjectReflectionBakingSettings
but does not readIsEnabledInEditor
orIsEnabledInBuilds
. Instead, it just always displays a warning on UWP, no matter whether it's enabled or not.Alternatively, being able to uninstall the optional reflection baking extension would also solve this, but this requires #24 and an optional package per optional extra.