Search Issue Tracker
Not Reproducible
Under Consideration for 6000.3.X, 6000.4.X
Votes
0
Found in
6000.3.0a2
6000.3.0b1
6000.4.0a1
Issue ID
UUM-116181
Regression
No
Upgrading project to 6.3 throws "[Worker0] Error while using custom asset indexer" errors
Steps to reproduce:
- Extract provided project "project-blobario.zip"
- Open the project with Unity 6000.3
- Wait for "Building asset search Index" process to start
- Observe the console
\\
Actual results: Getting error in the console:
[Worker1] Error while using custom asset indexer: System.Reflection.TargetParameterCountException: Number of parameters specified does not match the expected number.
at UnityEditor.Rendering.Universal.MaterialReferenceBuilder.GetMaterialFromMethod (System.Reflection.MethodInfo method, UnityEngine.Object obj, System.Func`3[T1,T2,TResult] generateErrorString) [0x00041] in ./Library/PackageCache/com.unity.render-pipelines.universal@5334e96e0b22/Editor/Converter/MaterialReferenceBuilder.cs:137
at UnityEditor.Rendering.Universal.ConversionIndexers.ConversionIndexer (UnityEditor.Search.CustomObjectIndexerTarget context, UnityEditor.Search.ObjectIndexer indexer) [0x000a7] in ./Library/PackageCache/com.unity.render-pipelines.universal@5334e96e0b22/Editor/Converter/ConversionIndexers.cs:44
at UnityEditor.Rendering.Universal.ConversionIndexers.ScriptableObjectConversionIndexer (UnityEditor.Search.CustomObjectIndexerTarget context, UnityEditor.Search.ObjectIndexer indexer) [0x00001] in ./Library/PackageCache/com.unity.render-pipelines.universal@5334e96e0b22/Editor/Converter/ConversionIndexers.cs:22
at (wrapper delegate-invoke) <Module>.invoke_void_CustomObjectIndexerTarget_ObjectIndexer(UnityEditor.Search.CustomObjectIndexerTarget,UnityEditor.Search.ObjectIndexer)
at UnityEditor.Search.ObjectIndexer.CallCustomIndexers (System.String documentId, System.Int32 documentIndex, UnityEngine.Object obj, UnityEditor.SerializedObject so, System.Boolean multiLevel) [0x000cb] in /Users/bokken/build/output/unity/unity/Modules/QuickSearch/Editor/Indexing/ObjectIndexer.cs:760
Expected results: No error in the console after upgrading
\\
Reproducible with versions:
6000.3.0a2, 6000.3.0a6
Can't test with versions:
6000.3.0a1 (Can't turn on Build Search Index on start in this version)
\\
Tested on (OS):
MacOS Sequoia 15.6.1
Ubuntu 24.04
\\
Notes:
- Need to re-extract the project before opening on a different version
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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Resolution Note:
Thank you for bringing this to our attention. We have thoroughly investigated the issue you reported, but so far, we have been unable to reproduce the problem on our end.
To assist you further, could you please provide additional details, such as screenshots, specific steps to reproduce the issue, or any relevant error messages? This information will help us better understand the situation and work towards a resolution.
We appreciate your cooperation and look forward to your response.