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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment