Search Issue Tracker
Fixed in 2017.1.X
Votes
2
Found in
5.6.0xf1
Issue ID
895081
Regression
Yes
[Linux Editor] API Updater fails to upgrade this.component expressions
API Updater fails to upgrade this.renderer and similar code.
Steps to reproduce:
1) Open the attached project.
2) Check Console.
API Updater fails with the following error:
APIUpdater encountered some issues and was not able to finish.
System.IO.FileNotFoundException: Could not find file "/opt/Unity/Editor/Data/Mono/lib/mono/2.0/System.xml.dll".
File name: '/opt/Unity/Editor/Data/Mono/lib/mono/2.0/System.xml.dll'
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0021a] in <5d83a8d54e334cdc853a0dba68082096>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <5d83a8d54e334cdc853a0dba68082096>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <5d83a8d54e334cdc853a0dba68082096>:0
at Roslyn.Utilities.FileUtilities.OpenFileStream (System.String path) [0x00000] in <bededc41dc2d4bfca1b18012876b04b2>:0
Expected result - this.renderer is updated to GetComponent<Renderer>().
Actual result - the expression is not updated, an error is logged in the console.
This issue does not reproduce on macOS and Windows.
Reproduced on:
2017.1.0b1, 5.6.0f1
Did not reproduce:
5.6.0b3, 5.5.2f1, 5.3.6f1
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
iwillbenice
Jul 13, 2017 14:25
workaraund works around, tnx :)
ierpe
May 02, 2017 17:48
+1 for the workaround
dsnettleton
Apr 29, 2017 15:33
Workaround fixed the issue for me as well. Good call, esistgut.
keksmampfer
Apr 24, 2017 21:07
workaround works for me, thx!
esistgut
Apr 14, 2017 11:39
possible workaround:
cd /opt/Unity/Editor/Data/Mono/lib/mono/2.0/
ln -sf System.Xml.dll System.xml.dll