Search Issue Tracker
Not Reproducible
Votes
0
Found in
2019.2.0a1
2019.3.0a1
2019.3.0a8
Issue ID
1168790
Regression
No
[Linux] NullReferenceException when trying to enable Linux x86_x64 through Platform settings of a Managed DLL
How to reproduce:
1. Open the attached project 'unity.zip'
2. Select BurtCommon.dll in the Project window, make sure the Inspector tab is open
3. Tick the Linux x86_64 Platform in the Platform settings (un-tick it if it was ticked in the first place)
4. Click 'Apply'
Expected results: Linux x86_64 platform gets enabled
Actual results: Linux x64_64 is still disabled, NullReferenceException in the console
Reproducible with: 2019.1.9f1, 2019.2.0b9, 2019.3.0a5
Reproduced on CentOS which can't run versions past 2019.3.0a5.
Full error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Experimental.AssetImporters.AssetImporterEditor.InternalSetTargets (UnityEngine.Object[] t) (at /home/builduser/buildslave/unity/build/Modules/AssetPipelineEditor/ImportSettings/AssetImporterEditor.cs:122)
UnityEditor.Editor.OnForceReloadInspector () (at /home/builduser/buildslave/unity/build/Editor/Mono/Inspector/Editor.cs:603)
Note: In 2019.3.0a1 instead of the NullReferenceException there are these errors:
Assertion failed on expression: 'targetHash.IsValid()'
Assertion failed on expression: 'loadedImportedAsset.targetHash.IsValid()'
Note 2: In 2019.2.0a1 and in 2019.1.9f1 it seems to work but there is another error in the console:
Win32Exception: ApplicationName='/run/media/pauliusg/Storage/Unities/2019.2.0a1/Editor/Data/Tools/RoslynScripts/unity_csc.sh', CommandLine='/noconfig @Temp/UnityTempFile-b69cd5a42947ef0768bc53765acb3b33', CurrentDirectory='', Native error= Out of memory
Note 3: Could not test in 2019.1.0a1 and in earlier version due to Platform settings not existing.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
Resolution Note (2020.1.X):
Unity changed some tooling recently and this bug no longer reproduces on CentOS 7 in 2019.4+.