Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2019.1.X
Votes
6
Found in
2019.1.0a6
Issue ID
1093274
Regression
Yes
TargetParameterCountException errors are thrown after importing 'Substance in Unity' asset
How to reproduce:
1. Open a new Unity project
2. Open Asset Store
3. Find "Substance in Unity" asset
4. Import it into the project
5. Wait for the importing process to finish
-- Lots of TargetParameterCountException errors are thrown in the Console.
Reproducible with - 2019.1.0a6
Not reproducible with - 2017.4.14f1, 2018.2.14f1, 2018.3.0b7, 2019.1.0a5
Errors thrown:
TargetParameterCountException: Number of parameters specified does not match the expected number.
System.Reflection.MonoMethod.ConvertValues (System.Reflection.Binder binder, System.Object[] args, System.Reflection.ParameterInfo[] pinfo, System.Globalization.CultureInfo culture, System.Reflection.BindingFlags invokeAttr) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Delegate.DynamicInvoke (System.Object[] args) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
Substance.Game.NativeFunctionsShared.cppInitSubstance (System.String applicationDataPath) (at <a7f324179b874bf6be743a4296b96d4e>:0)
Substance.Game.NativeFunctions.cppInitSubstance (System.String applicationDataPath) (at <a7f324179b874bf6be743a4296b96d4e>:0)
Substance.Game.NativeCallbacks.InitSubstance () (at <a7f324179b874bf6be743a4296b96d4e>:0)
Substance.Game.SubstanceMain.Initialize () (at <8dbf4539bab24c648c0b65d631ff5426>:0)
Substance.Game.SubstanceMain..cctor () (at <8dbf4539bab24c648c0b65d631ff5426>:0)
Rethrow as TypeInitializationException: The type initializer for 'Substance.Game.SubstanceMain' threw an exception.
<...>
Comments (11)
-
ProgOrion
Nov 15, 2018 19:19
I get it tooo :/
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
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
- Blackboard in Visual Effect Graph Resizes After Exiting Full-Screen Mode
Resolution Note (fix version 2018.3):
Fixed in 2019.2.0a7
Backported to 2018.3.11f1, 2019.1.0b8