Comments (5)
Are you setting the bundle via the inspector? I will add to the to-do the notion that multi-selection in the "Asset List" pane (upper right) will multi-select those same items in the project browser. Right now, only one of them is selected there, which means only one of them is edited in the inspector.
More importantly however, the intent of this browser is to allow people to no longer use the in-inspector setting of bundle. If you select multiple assets in the Asset List pane, and want to assign them all to the same bundle, just drag them to that bundle in the Bundle List (upper left) pane.
Thanks for your feedback! Hopefully this tool his proving helpful to you.
from assetbundles-browser.
Thanks for your reply. The tool is very helpful.
I can shift click items in the asset list to select multiple items, so it wasn't clear that the inspector setting shouldn't be used.
I have tried dragging assets to a bundle but unity crashes when i start dragging any item from the asset list.
Unity logs show this:
libc++abi.dylib: terminating with uncaught exception of type NSException
Stacktrace:
at (wrapper managed-to-native) UnityEditor.DragAndDrop.set_objectReferences (UnityEngine.Object[]) <IL 0x0000c, 0x00092>
at (wrapper managed-to-native) UnityEditor.DragAndDrop.set_objectReferences (UnityEngine.Object[]) <IL 0x0000c, 0x00092>
at UnityEngine.AssetBundles.AssetListTree.SetupDragAndDrop (UnityEditor.IMGUI.Controls.TreeView/SetupDragAndDropArgs) [0x00057] in /Users/christianschinkoethe/Documents/git/prime-client-5.6/Assets/UnityEngine.AssetBundles/Editor/AssetBundleBrowser/AssetListTree.cs:217
at UnityEditor.IMGUI.Controls.TreeView/TreeViewControlDragging.StartDrag (UnityEditor.IMGUI.Controls.TreeViewItem,System.Collections.Generic.List`1) [0x00018] in /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControlDragging.cs:26
at UnityEditor.IMGUI.Controls.TreeViewController.HandleUnusedMouseEventsForItem (UnityEngine.Rect,UnityEditor.IMGUI.Controls.TreeViewItem,int) [0x00234] in /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:347
at UnityEditor.IMGUI.Controls.TreeViewController.DoItemGUI (UnityEditor.IMGUI.Controls.TreeViewItem,int,single,bool) [0x00120] in /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:476
at UnityEditor.IMGUI.Controls.TreeViewController.IterateVisibleItems (int,int,single,bool) [0x000cb] in /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:621
at UnityEditor.IMGUI.Controls.TreeViewController.OnGUI (UnityEngine.Rect,int) [0x00263] in /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:552
at UnityEditor.IMGUI.Controls.TreeView.TreeViewWithMultiColumnHeader (UnityEngine.Rect) [0x000bb] in /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControl.cs:421
at UnityEditor.IMGUI.Controls.TreeView.OnGUI (UnityEngine.Rect) [0x00042] in /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControl.cs:395
at UnityEngine.AssetBundles.AssetListTree.OnGUI (UnityEngine.Rect) [0x00003] in /Users/christianschinkoethe/Documents/git/prime-client-5.6/Assets/UnityEngine.AssetBundles/Editor/AssetBundleBrowser/AssetListTree.cs:106
at UnityEngine.AssetBundles.AssetBundleManageTab.OnGUI (UnityEngine.Rect) [0x00284] in /Users/christianschinkoethe/Documents/git/prime-client-5.6/Assets/UnityEngine.AssetBundles/Editor/AssetBundleBrowser/AssetBundleManageTab.cs:164
at UnityEngine.AssetBundles.AssetBundleBrowserMain.OnGUI () [0x00042] in /Users/christianschinkoethe/Documents/git/prime-client-5.6/Assets/UnityEngine.AssetBundles/Editor/AssetBundleBrowser/AssetBundleBrowserMain.cs:87
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0001c, 0x000f9>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (object,object[],System.Exception&) <IL 0x0001b, 0x00103>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (object,object[],System.Exception&) <IL 0x0001b, 0x00103>
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x000d0] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222
at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115
at UnityEditor.HostView.Invoke (string,object) [0x00013] in /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:262
at UnityEditor.HostView.Invoke (string) [0x00009] in /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:255
at UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect) [0x0008f] in /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:222
at UnityEditor.DockArea.OnGUI () [0x004f3] in /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:346
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0001c, 0x000f9>
Native stacktrace:
0 libsystem_kernel.dylib 0x00007fff94139f06 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8463e6df abort + 129
2 libc++abi.dylib 0x00007fff8c2dcc11 __cxa_bad_cast + 0
3 libc++abi.dylib 0x00007fff8c302e17 _ZL26default_unexpected_handlerv + 0
4 libobjc.A.dylib 0x00007fff95d8c6ae _ZL15_objc_terminatev + 103
5 libc++abi.dylib 0x00007fff8c30000e _ZSt11__terminatePFvvE + 8
6 libc++abi.dylib 0x00007fff8c2ffa7a _ZN10__cxxabiv1L22exception_cleanup_funcE19_Unwind_Reason_CodeP17_Unwind_Exception + 0
7 libobjc.A.dylib 0x00007fff95d8a08c objc_exception_throw + 318
8 CoreFoundation 0x00007fff8a9a1ae0 checkForCloseTag + 0
9 Unity 0x00000001029e2579 _ZL16WriteArrayToDragP7NSArrayP12NSPasteboardP8NSString + 281
10 Unity 0x00000001029e2406 _ZN11DragAndDrop8SetPPtrsERSt6vectorI4PPtrI6ObjectESaIS3_EE + 278
11 Unity 0x00000001023f640b _Z43DragAndDrop_Set_Custom_PropObjectReferencesP9MonoArray + 139
12 ??? 0x00000001209b05d2 0x0 + 4841997778
13 ??? 0x00000001209aec69 0x0 + 4841991273
14 ??? 0x00000001209ae914 0x0 + 4841990420
15 ??? 0x00000001594c6f6e 0x0 + 5793148782
16 ??? 0x00000001594ae6c4 0x0 + 5793048260
17 ??? 0x00000001594ad606 0x0 + 5793043974
18 ??? 0x00000001594a6acf 0x0 + 5793016527
19 ??? 0x0000000121e0d3e7 0x0 + 4863349735
20 ??? 0x0000000121e05b3a 0x0 + 4863318842
21 ??? 0x0000000121e0cbbc 0x0 + 4863347644
22 ??? 0x0000000120a26512 0x0 + 4842480914
23 ??? 0x000000016b77c125 0x0 + 6097977637
24 ??? 0x0000000123feeb9a 0x0 + 4898876314
25 libmono.0.dylib 0x000000010b2ee036 mono_get_runtime_build_info + 3654
26 libmono.0.dylib 0x000000010b418b0e mono_runtime_invoke + 117
27 libmono.0.dylib 0x000000010b41e8b4 mono_runtime_invoke_array + 946
28 libmono.0.dylib 0x000000010b3dd343 mono_register_jit_icall + 37337
29 ??? 0x000000013eb25be3 0x0 + 5346843619
30 ??? 0x000000013eb255dc 0x0 + 5346842076
31 ??? 0x000000013eb25096 0x0 + 5346840726
32 ??? 0x0000000140ff469c 0x0 + 5385438876
33 ??? 0x0000000140ff4567 0x0 + 5385438567
34 ??? 0x0000000159495536 0x0 + 5792945462
35 ??? 0x00000001593da27b 0x0 + 5792178811
36 ??? 0x0000000123feeb9a 0x0 + 4898876314
37 libmono.0.dylib 0x000000010b2ee036 mono_get_runtime_build_info + 3654
38 libmono.0.dylib 0x000000010b418b0e mono_runtime_invoke + 117
39 Unity 0x00000001020864dd _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb + 125
40 Unity 0x0000000101c45351 _Z18MonoBehaviourDoGUIiR14ObjectGUIStateN13MonoBehaviour13GUILayoutTypeEi18ScriptingMethodPtr4PPtrIS1_E + 433
41 Unity 0x0000000101c434f9 _ZN11IMGUIModule18MonoBehaviourDoGUIEiR14ObjectGUIStateN13MonoBehaviour13GUILayoutTypeEi18ScriptingMethodPtr4PPtrIS2_E + 41
42 Unity 0x00000001025bf388 _ZN13MonoBehaviour5DoGUIENS_13GUILayoutTypeEii + 392
43 Unity 0x00000001029f7932 _ZN7GUIView12OnInputEventER10InputEvent + 1010
44 Unity 0x0000000100d14900 _ZN7GUIView17ProcessInputEventER10InputEvent + 32
45 Unity 0x0000000102a104e2 -[GUIRenderView mouseDragged:] + 82
46 AppKit 0x00007fff83808b15 -[NSWindow _reallySendEvent:isDelayedEvent:] + 2108
47 AppKit 0x00007fff83247539 -[NSWindow sendEvent:] + 517
48 AppKit 0x00007fff831c7a38 -[NSApplication sendEvent:] + 2540
49 Unity 0x0000000102a01325 -[EditorApplicationPrincipalClass sendEvent:] + 277
50 AppKit 0x00007fff8302edf2 -[NSApplication run] + 796
51 AppKit 0x00007fff82ff8368 NSApplicationMain + 1176
52 Unity 0x0000000102a01c6a _Z10EditorMainiPPKc + 2010
53 Unity 0x0000000102a023f9 main + 9
54 Unity 0x0000000100002504 start + 52
Debug info from gdb:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
[0503/105800:FATAL:platform_thread_posix.cc(235)] Check failed: 0 == pthread_join(thread_handle.handle_, __null) (0 vs. 3)
from assetbundles-browser.
That definitely shouldn't happen! Thanks for the stack-trace, I can see exactly where it failed. Now I just need to figure out why. I will get working on that and post here once a fix is up.
Thanks,
Bill
from assetbundles-browser.
Hi cschinkoethe. The latest release in master (0.2.0) will definitely fix your first issue (multi-select in Asset List also serving as multi-select in project/inspector). It will hopefully fix the crash issue as well, but I cannot be sure of that as it was very difficult to reproduce. If it happens again, please send the new stack trace, and any other details you can (what type of assets were dragged, version of Unity, etc.)
Thanks again for the feedback.
Bill
from assetbundles-browser.
Thanks for your quick fix. The inspector window now sets all bundles when I have multiple items selected. The asset list's bundle field doesn't update to show that until i select the bundle again on the left but that's no big deal. The crash seems to be fixed too now, I was using Unity 5.6.0f3 and it crashed with any asset type.
from assetbundles-browser.
Related Issues (20)
- How to resolve is auto included in multiple bundles HOT 7
- Standard Compression (LZMA) cannot display any component if used UI_Default shader
- Asset Details Panel: String too long for TextMeshGenerator. Cutting off characters. HOT 1
- Cannot see AssetBundles from packages folders (PackageManager)
- Want to show dependencies for individual assets in a column of Config
- Release v1.8.0 on Package Manager
- Streaming asset path
- Asset sizes should be shown as imported sizes, not on-disk sizes
- How to share AssetBundleBrowser settings with git? HOT 3
- [New Feature]SBP support HOT 2
- No way to sort assets by type HOT 2
- Not able to build asset bundle for Standalone OSX Intel or Standalone OSX 64
- Merge different manifest files into one main platform manifest file HOT 2
- error dependecy with SpriteAtlas
- Assets in embedded packages are not visible
- Is this project abandoned? HOT 3
- 【AD. Repo Share】Enhance Repo,Support Huge Project, etc
- [help]Hollolens2 single eye bug
- NavMesh Issue while Loading Assets into Game [Android] HOT 1
- How to trigger build bundles from code?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assetbundles-browser.