Search Issue Tracker

Active

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.