Fails to Build due to PlayerSettings not existing

Avatar
  • updated
  • Fixed

When building, a compiler error is thrown.

Assets\Shapes\Scripts\Runtime\Utils\ShapesExtensions.cs(27,63): error CS0103: The name 'PlayerSettings' does not exist in the current context

The line in question is this one:

internal static Color ColorSpaceAdjusted( this Color c ) => PlayerSettings.colorSpace == ColorSpace.Linear ? c.linear : c;
Reporting a bug? please specify Unity version:
2020.3.2f1
Reporting a bug? please specify Shapes version:
3.2.0
Reporting a bug? please specify Render Pipeline:
URP
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Fixed

fixed in 3.2.1, which should release soon!

Avatar
Freya Holmér creator
  • Answer
  • Fixed

fixed in 3.2.1, which should release soon!