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
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Add comment