Your comments

I was at first reluctant to uninstall Peek from my project. I did however, stop using its functionality, thinking that I would prevent Unity from crashing, but even without using any of Peek's features, Unity kept crashing. I know you asked for specific operations but I am guessing the opposite could be just as relevant

Thanks Lazlo, that did it. A nice functionality for a future version would be to have the Creator be able to snap according to snap settings. But for now, this is great!

Hi Lazlo,

After updating I'm getting this: 

Assets/Ludiq/Ludiq.Peek/Editor/Probe/Probe.cs(128,11): error CS0122: 'SceneVisibilityManager' is inaccessible due to its protection level

Hi Lazlo,

Thank you for your quick responses. Will it be possible to update through the Update Wizard at some point? I tried updating yesterday when I saw there was an update, but the wizard told me I was up to date with version 1.0.0.

I unfortunately cannot work reliably with the instability on macOS (I had three crashes in the span of two hours monday), so until this is addressed I will have to use a limited set of the functionality. I really hope you find a fix for this as, when it works, it's an amazing tool.

All right. I got this after unchecking "Create Models" and bringing up the fuzzy search through the Creator:

ArgumentException: An item with the same key has already been added. Key: ui_box (UnityEngine.Sprite)
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
Ludiq.Peek.CreateGameObjectOptionTree.b__4_0 () (at Assets/Ludiq/Ludiq.Peek/Editor/Creator/Fuzzy/CreateGameObjectOptionTree.cs:62)
Ludiq.PeekCore.UnityAPI+<>c__DisplayClass13_0.b__0 () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Utilities/UnityAPI.cs:114)
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
Ludiq.PeekCore.UnityAPI.Await (System.Action action, System.Nullable`1[T] timeout) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Utilities/UnityAPI.cs:138)
Ludiq.PeekCore.UnityAPI.Await (System.Action action) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Utilities/UnityAPI.cs:91)
Ludiq.Peek.CreateGameObjectOptionTree.Prewarm () (at Assets/Ludiq/Ludiq.Peek/Editor/Creator/Fuzzy/CreateGameObjectOptionTree.cs:27)
Ludiq.PeekCore.FuzzyWindow+<>c__DisplayClass18_0.b__0 () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Fuzzy/FuzzyWindow.cs:360)
Ludiq.PeekCore.FuzzyWindow.RunTaskSynchronous (System.Action task) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Fuzzy/FuzzyWindow.cs:1274)
UnityEngine.Debug:LogException(Exception)
Ludiq.PeekCore.FuzzyWindow:RunTaskSynchronous(Action) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Fuzzy/FuzzyWindow.cs:1279)
Ludiq.PeekCore.FuzzyWindow:Work() (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Fuzzy/FuzzyWindow.cs:1308)
System.Threading.ThreadHelper:ThreadStart()


I tried also unchecking create Sprites. That brought up my directory for the first time, but after typing one character I got a NullRef:

NullReferenceException: Object reference not set to an instance of an object
Ludiq.Peek.CreateGameObjectOptionTree+d__19.MoveNext () (at Assets/Ludiq/Ludiq.Peek/Editor/Creator/Fuzzy/CreateGameObjectOptionTree.cs:259)
System.Collections.Concurrent.Partitioner+DynamicPartitionerForIEnumerable`1+InternalPartitionEnumerable[TSource].GrabChunk_Buffered (System.Collections.Generic.KeyValuePair`2[System.Int64,TSource][] destArray, System.Int32 requestedChunkSize, System.Int32& actualNumElementsGrabbed) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Collections.Concurrent.Partitioner+DynamicPartitionerForIEnumerable`1+InternalPartitionEnumerable[TSource].GrabChunk (System.Collections.Generic.KeyValuePair`2[System.Int64,TSource][] destArray, System.Int32 requestedChunkSize, System.Int32& actualNumElementsGrabbed) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Collections.Concurrent.Partitioner+DynamicPartitionerForIEnumerable`1+InternalPartitionEnumerator[TSource].GrabNextChunk (System.Int32 requestedChunkSize) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Collections.Concurrent.Partitioner+DynamicPartitionEnumerator_Abstract`2[TSource,TSourceReader].MoveNext () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.Tasks.Parallel+<>c__DisplayClass42_0`2[TSource,TLocal].b__1 () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.Tasks.Task.InnerInvoke () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.Tasks.Task.InnerInvokeWithArg (System.Threading.Tasks.Task childTask) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.Tasks.Task+<>c__DisplayClass178_0.b__0 (System.Object ) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
Rethrow as AggregateException: One or more errors occurred.
System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.Tasks.Task.Wait () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal] (System.Collections.Concurrent.Partitioner`1[TSource] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] simpleBody, System.Action`2[T1,T2] bodyWithState, System.Action`3[T1,T2,T3] bodyWithStateAndIndex, System.Func`4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func`5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func`1[TResult] localInit, System.Action`1[T] localFinally) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal] (System.Collections.Generic.IEnumerable`1[T] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] body, System.Action`2[T1,T2] bodyWithState, System.Action`3[T1,T2,T3] bodyWithStateAndIndex, System.Func`4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func`5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func`1[TResult] localInit, System.Action`1[T] localFinally) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.Tasks.Parallel.ForEach[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] body) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
Ludiq.PeekCore.SearchUtility.OrderableSearchFilter[THaystack,TResult] (System.Collections.Generic.IEnumerable`1[T] enumeration, System.Func`2[T,TResult] getResult, System.String query, System.Func`2[T,TResult] getHaystack, System.Nullable`1[T] cancellation) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Utilities/SearchUtility.cs:244)
Ludiq.PeekCore.SearchUtility.OrderableSearchFilter[T] (System.Collections.Generic.IEnumerable`1[T] enumeration, System.String query, System.Func`2[T,TResult] haystack, System.Nullable`1[T] cancellation) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Utilities/SearchUtility.cs:270)
Ludiq.PeekCore.FuzzyOptionTree.SearchResults (System.String query, Ludiq.PeekCore.IFuzzyOption parent, System.Threading.CancellationToken cancellation) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Fuzzy/FuzzyOptionTree.cs:134)
Ludiq.PeekCore.FuzzyOptionTree.OrderedSearchResults (System.String query, Ludiq.PeekCore.IFuzzyOption parent, System.Threading.CancellationToken cancellation) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Fuzzy/FuzzyOptionTree.cs:127)
Ludiq.PeekCore.FuzzyWindow+<>c__DisplayClass43_0.b__0 () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Fuzzy/FuzzyWindow.cs:582)
Ludiq.PeekCore.FuzzyWindow.RunTaskSynchronous (System.Action task) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Fuzzy/FuzzyWindow.cs:1274)
UnityEngine.Debug:LogException(Exception)
Ludiq.PeekCore.FuzzyWindow:RunTaskSynchronous(Action) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Fuzzy/FuzzyWindow.cs:1279)
Ludiq.PeekCore.FuzzyWindow:Work() (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Fuzzy/FuzzyWindow.cs:1308)
System.Threading.ThreadHelper:ThreadStart()

I have experienced quite a few times that dragging and dropping causes crashes

I think it would be beneficial if it was possible to exclude certain directories in the preferences. We, as an example, have a mesh library of around 12.000 models, which we do not need to search through

Hi Lazlo,

Sure thing:

  1. It happens every time. I have not been able to use it in my current project yet.
  2. It is quiet big. So far there is about 15.000 files (not including meta files) in the Asset folder.
  3. It does in fact not happen in a new project.