Search Issue Tracker
Fixed in 5.4.0
Votes
2
Found in
5.4.0b3
Issue ID
765273
Regression
Yes
[iOS]"Could not load file or assembly 'UnityEditor.iOS.Extensions" when calling "UnityEditor.iOS.BuildPipeline.collectResources"
To Reproduce:
1. Open the attached project, observe that, when it's loaded you'll get this error:
"FileNotFoundException: Could not load file or assembly 'UnityEditor.iOS.Extensions.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
UnityEditor.EditorTestsRunner.EditorTestsRunnerWindow..cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for UnityEditor.EditorTestsRunner.EditorTestsRunnerWindow"
2. Try building it for iOS, building (not the whole editor) hangs up when building the first scene (last message in editor.log is the same error).
[This only seems to happen with development builds, it builds fine when using builds from katana, but you still get errors]
3. Open 'Editor/BuildResources.cs', if you remove '[InitializeOnLoadMethod]' or just:
'UnityEditor.iOS.BuildPipeline.collectResources += ..' it will no longer freeze.
This also BREAKS all user editor scripts (use the project ODR_Stripped_test.zip):
1. Open the attached project and ( DON't switch platform to iOS), but click AssetBundles/Settings to open a new Editor Window.
2. Switch Platform to iOS, you'll get the error.
4. Click anything in the custom window or just in the menu bar.
5. Observe that the custom menu buttons will disappear, and sometimes this will trigger a crash in Editor UI (below), but custom Editor scripts will no longer work properly in any case.
Comments (1)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
dazzle_wolf
May 12, 2016 07:33
This is definitely not fixed, I have the same issue on 5.3.4f1.
In our case, it's a bit more severe since Unity completely breaks down and doesn't allow us to open for example any scripts.