When I try and build addressable packed assets ( not the actual game build ), it seems to build fine, but gives this “false” ? warning :
Library\PackageCache\com.unity.entities@0.10.0-preview.6\Unity.Entities\ApiCompatibilityLevelTest.cs(2,10): warning CS1030: #warning: ‘Project is expected to have API Compatibility Level set to .NET Standard 2.0’
my .Net is set to 4.0 and I could be wrong, but isn’t Entity’s .net version has to be set as 4.0 not 2.0 ???
So I am flagging this as potentially a false warning and needs to be fixed as it can result in confusion and some user may even switch to the 2.0 ???
Any idea?
Because it’s different things, .net framework 4 and .net standard 2.
The stable scripting runtime supports two different profiles: .NET Standard 2.0 and .NET 4.x. The name of the .NET Standard 2.0 profile can be a bit misleading because it is not related to the .NET 2.0 and .NET 2.0 Subset profile from the legacy scripting runtime. Instead, Unity’s support for the .NET Standard 2.0 profile matches the profile of the same name published by the .NET Foundation. The .NET 4.x profile in Unity matches the .NET 4 series (.NET 4.5, .NET 4.6, .NET 4.7, and so on) of profiles from the .NET Framework.
Only use the .NET 4.x profile for compatibility with external libraries, or when you require functionality that is not available in .NET Standard 2.0.
Oh … I get it now. I was confused with old subset drama.