Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
2021.2.0a18
2021.2.8f1
2022.1
2022.2
Issue ID
1397970
Regression
Yes
PlatformNotSupportedException is thrown when using System.Security
How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/SampleScene
3. Press the Play button and observe the Console
Expected result: "Unprotected string=String we want to protect" is logged to the Console, no errors are thrown
Actual result: "PlatformNotSupportedException: Operation is not supported on this platform." is thrown to the Console
Reproducible with: 2021.2.0a18, 2021.2.17f1, 2022.1.0b13, 2022.2.0a8
Not reproducible with: 2019.4.37f1, 2020.3.32f1, 2021.2.0a17
Notes:
1. Reproducible on Windows
2. Not reproducible on macOS
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a11
Resolution Note (fix version 2022.1):
Fixed in 2022.1.4f1
Resolution Note (fix version 2021.3):
Fixed in 2021.3.4f1