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
- 'EditorSceneManager.sceneCount' reports the wrong count when called by an 'EditorSceneManager.sceneClosed' event
- Entering large values in keyframe “Value” causes Curve to disappear and spams Mesh Bounds errors in the Console window
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
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