If I assign a soft reference in Blueprint, packaging with nativization enabled fails with a compiler error.
I have attached a minimal project to reproduce. Just open the project and package with nativization enabled.
I’m using Visual Studio 2017 (15.4.1).
Hi lotodore, I opened your project and attempted to package with Nativization set to inclusive and exclusive neither of the two settings were giving me any errors when compiling. Could you provide the errors you are receiving as well as any other information from Output logs. Thank you.
I’m attaching the full packaging log. The relevant build error is (sorry) in German.
Error C2679 is new or has been changed with Visual Studio 2017, so you might not be able to reproduce it using Visual Studio 2015. Also, I have update 4.1 installed (technical version is 15.4.1).
UATHelper: Packaging (Windows (64-bit)): D:\Projects\Unreal\SoftRefNativizeBug\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\TestPlayerController__pf1010915279.cpp(402): error C2679: Binärer Operator “=”: Es konnte kein Operator gefunden werden, der einen rechtsseitigen Operanden vom Typ “TSoftObjectPtr” akzeptiert (oder keine geeignete Konvertierung möglich)
The log is exactly from the sample project which I already attached.
[removed log for reasons of privacy. please contact me if you still need it.]