Hi.
I’m trying to migrate my project from Windows to Linux, both in UE 5.0.3, but when I try to compile in Linux I got an error:
*conditional expression is ambiguous; ‘TObjectPtr<APlayerState>’ can be converted to 'APlayerState ’ and vice versa
The sentence is:
PlayerState = GetPlayerState<APlayerState>();
It’s inside a class inheritance from APlayerController.
The sentence works fine in Windows but in Linux I got that error.
Yeah, you are right, removing that line compile the project, now the problem is that I lost all the assets, blueprint… don’t show in the editor. In all the asset the log says
Error: Package XXX.uasset has malformed tag
Solved too, I had to download lfs assets from github properly.