Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2018.4.0f1
2018.4.1f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1189521
Regression
No
CS0246 compilation error is thrown after compilation when a new file is added and referenced in the existing assemblies
How to reproduce:
0. Download and extract "ScriptableBuildPipelineBug.zip" (the ScriptableBuildPipelineBug.zip is the result of Case 1188509 steps, this is necessary)
1. Copy the files from `CompilationErrorFiles\After` and place them in `SampleProject\Assets\Scripts\Example`
2. Run `RunSample.cmd` and wait for it to finish. The build output will be logged to `BuildReport.log` next to the `cmd` file.
- View `BuildReport.cmd` and notice that the compiler output has been logged and a CS0246 error has been is mentioned.
- Also note that you can see the import of `ScriptB` occurs after this compilation step which is why it could not find the type.
3. Observe 'BuildReport.log' located in the same folder as the 'cmd' file
Expected result: CS0246 error is not present
Actual result: CS0246 error is present
Reproducible with: 2018.4.11f1, 2019.2.8f1, 2019.3.0b4, 2020.1.0a8
Could not test with: 2017.4.33f1 because Case 1188509 unable to test
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Add comment