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
- Console window loses focus of the last message when a lot of messages are shown in a row
- Shadow artifacts appear when using a merged mesh with a specific Near Plane value in the Play Mode in URP
- "TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR" error when a lot of web requests are sent within a few minutes
- “ArgumentOutOfRangeException“ error when selecting 'TMP_InputField' content using keyboard in WebGL build
- Spot Light with 'Box' Shape stops working when it collides with Mesh
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