Xbox One issue building addressables player content

Can anyone please provide any insights into this scripting error reported from the addressables package v1.2.4 or higher for platform Xbox one when attempting to build player content ?

/Library/PackageCache/com.unity.addressables@1.2.4/Runtime/ResourceManager/ResourceManager.cs(85,100): error CS1644: Feature `pattern matching’ cannot be used because it is not part of the C# 6.0 language specification

This issue is only reported on Platform Xbox One. (PC,Switch,PS4, Android, IOS all have no issues)

We upgraded from an older version of addressables (I believe it was 0.7.4) which did not have this issue previously.

Occurs in Unity LTS version 2018.4.1f1 (XDK QFE_5) Also tested on Unity 2018.4.12f1 (XDK QFE_9) with the same results.

I get exactly the same error. Did you find a solution to the problem?

I found a solution. need to switch the compiler script from mono to roslyn

1 Like