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.
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
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
- A memory leak occurs in Play mode when using Direct3D12 Graphics API
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.