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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
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.