Search Issue Tracker
Active
Votes
0
Found in
2020.2.0a16
2022.3
Issue ID
1261999
Regression
No
Compile errors in DLLs are not treated as compile errors
1 I created 2 precompiled DLLs through VisualStudio: DLL2 references DLL1
2 I drag and dropped those DLLs to Unity project
3 I created a script that uses classes/methods from DLL2 and added that script to a GameObject in the scene
4 Press Play - everything works
5 Stop Play mode
6 Delete DLL1
7 Now there are errors:
"Assembly 'Library/ScriptAssemblies/Assembly-CSharp.dll' will not be loaded due to errors:
Reference has errors 'Dll2'."
and
"Assembly 'Assets/Dll2.dll' will not be loaded due to errors:
Unable to resolve reference 'Dll1'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector."
Actual Results: You can "Clear" those errors from the Console and they are gone, you can press Play and it enters Play mode
Expected Results: in my opinion those are kind of "compile errors" and they should be treated in the same way ?
How can we reproduce it using the example you attached
1 Open attached project (New Unity Project_dll_a16.zip)
2 Go to Project Browser and delete DllTest.dll
3 Press Play
Actual Results: there are 2 errors appear but you can "Clear" those errors from the Console and they are gone, you can enter Play mode
Expected Results: in my opinion those are kind of "compile errors" and they should be treated in the same way ? - meaning Play mode shouldn't be allowed and errors can't be "Clear"-ed from the Console
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
Add comment