Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.2.7f1
Issue ID
1080311
Regression
No
Incremental Compiler always allows unsafe code
How to reproduce:
1. Open the user-submitted Project
2. Open "UnsafeText" script and see that there is an unsafe function
3. Go to "File" -> "Build Settings" -> "Player Settings" and observe that the "allow unsafe code" option is unchecked
4. Notice that there are no compile errors in the Console Window
Expected result: An unsafe code error is thrown in the Console
Actual result: No error is thrown when using the Incremental Compiler
Reproduced in: 2018.3.0b1, 2018.2.8f1, 2018.1.9f2
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
- "GUI Error: Invalid GUILayout state in ConsoleWindow view" and "NullReferenceException" errors are thrown when pinging GameObject in inactive Hierarchy from Console
- Crash on profiling::Dispatcher::AcquireFreeBuffer when the Editor's profiler session acquires a new dispatch buffer to emit UI events
- [XRIT] CurveVisualController causes "Invalid AABB" and "IsFinite(distanceForSort)" errors when startup endpoint equals origin
- Building with -nographics breaks VFX Graph Position (Depth) as an Operator
- MacOS server cannot find libMonoPosixHelper.dylib when calling GZipStream
Resolution Note (2019.3.X):
Incremental Compiler package is no longer supported.