Updating to 1.4.0 from 1.3.0 fails with with Unity 2020.1.17
See original GitHub issueDescribe the bug Updated my project from 1.3.0 to 1.4.0 with Unity 2020.1.17 and not all of my sources are compiled
To Reproduce Can’t really
Expected behavior All sources compile
Screenshots
Environment (please complete the following information):
- Version 1.4.0
- Platform: Editor/Windows
- Unity version: 2020.1.17
- Build options: .Net 4.x
Additional context The problem might come from the fact that we are using external .cs files added as unity packages. We have several projects included like:
[package.json]
"bimvisualizer.shared": "file:../../BimVisualizer.Shared",
These point to folders with .net standard 2.0 projects (which are using C#9.0) (also the bin and obj folders are renamed to .bin and .obj so unity will not try to use the dlls inside them). The errors seem to only come from one project where c# 9 and 8 are used, and not from the unity project.
Should I include another folder for assemblies in the settings?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
👍
Sure.
@KuraiAndras
Check
name
field inbimvisualizer.shared/package.json
andbimvisualizer.application/package.json
.For example:
and
!Packages/
Packages/com.bim.visualizer.shared
Packages/com.bim.visualizer.application
This is to prevent unintended compiler changes and to minimize the impact of compiler changes. Packages and store assets should (essentially) be compiled with the default compiler.