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
- Lightmaps are baked incorrectly for GameObjects when their Position is <=-2048 or >=2048 on any of the coordinates
- Sahder errors in Player when "Strict shader variant matching" is enabled and the rendering path is set to "Deferred"
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
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