NullReferenceException: Convert unity to virtual

Next-Gen Massive Virtual Texturing for Unity Pro

NullReferenceException: Convert unity to virtual

Postby disky » Sat Dec 06, 2014 7:34 am

It looks like it found about 1200 materials

at some point in the first 4 it crashed with


NullReferenceException: Object reference not set to an instance of an object
at AmplifyTexture.Converter.ConvertUnityToVirtual () [0x00000] in <filename unknown>:0

at AmplifyTexture.Converter.OnGUI () [0x00000] in <filename unknown>:0

at AmplifyTexture.InternalTools.OnConverterGUI () [0x00000] in <filename unknown>:0

at AmplifyTexture.InternalTools.OnGUI () [0x00000] in <filename unknown>:0

at AmplifyTexture.Tools.OnGUI () [0x00000] in <filename unknown>:0

at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)

at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222

v 2.03a33 trial

I should mention we use alloy and have some alloy variations we made ourselves
disky
 
Posts: 1
Joined: Sat Dec 06, 2014 7:31 am

Re: NullReferenceException: Convert unity to virtual

Postby Ricardo Teixeira » Sat Dec 06, 2014 7:09 pm

Hello,

Thank you for evaluating Amplify Texture 2.

The automatic conversion will only work for unaltered shaders, be it for the Unity shaders or any third party compatible shader package such as Alloy.

For custom shaders I recommend checking section 14 of the AT2 Manual.

It would be really helpful if we could confirm that the error is caused by a custom shader and not a new bug in the conversion process. We would be happy to help with the shader conversion and to test it on our side, let us know via the [email protected] email.

What Unity and Alloy version do you currently use?

Thanks!
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: NullReferenceException: Convert unity to virtual

Postby Ricardo Teixeira » Thu Mar 12, 2015 4:50 pm

Hello,

Any luck with the conversion issues? We would be happy to help.

We strongly recommend checking out the latest AT2 update, among other features it includes Unity 5 and Alloy 3 support.

Thanks!
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm


Return to Amplify Texture 2 - Development Builds

Who is online

Users browsing this forum: No registered users and 13 guests

cron