Shader Error with Unity 5.5

0
Mese posted this 03 December 2016

I get these errors with Unity's 5.5 ShaderError

When initializing d for some reason it isnt working. If I comment these lines next line gets the error and also d is not sucessfully initialized.

Edit: the image wasn't shown

Last edited 03 December 2016

12 Comments
Order By: Standard | Newest | Votes
0
GarethIW posted this 03 December 2016

Is this with the non-beta Unity 5.5? Have you updated PicaVoxel to 1.4.7?

0
Mese posted this 03 December 2016

Unity version is 5.50f3 (non-beta) and I did upgrade to PicaVoxel 1.4.7

After reading your response I tried to re-import Picavoxel again, it was updated already to 1.4.7.

0
GarethIW posted this 03 December 2016

MacOS or Windows? If Windows, which version?

0
Mese posted this 03 December 2016

Windows 8.1 Pro

0
GarethIW posted this 03 December 2016

Hmmm, this is weird then. I can't reproduce the error but I have compiled a cut-down version of the shaders with fewer platforms enabled (no windows RT/consoles etc). Replace the Picavoxel PBR shaders with these.

Link removed, see below

Let me know if these compile/work okay.

Last edited 01 May 2017

0
Invince posted this 08 December 2016

The PBR shaders work fine on the PC, Mac & Linux standalone platform but it becomes bugged on the mobile (Android, iOS) platforms for me. I'm using Unity 5.5.0p1 with PicaVoxel 1.4.7 on Windows 10.

0
GarethIW posted this 08 December 2016

@Invince: Is that with the included shaders or the ones above (or both)?

Also, when you say bugged, what do you mean? Compiler error or graphically bugged?

Last edited 08 December 2016

0
Invince posted this 14 December 2016

I have tried it with both. And by bugged i meant graphically, it renders the object as pink with the same compiler error messages as the first post.

Last edited 15 December 2016

0
GarethIW posted this 14 December 2016

Alright yep, looks like there's still a bug in Shaderforge in Unity 5.5 (compilation error in any shader with a DX11 path enabled).

I've double-checked these new ones and they at least work in the editor when I switch to iOS and Android platforms:

https://1drv.ms/u/s!AhdchalVsPvXnLdH3fitzPJqupJU0Q

Let me know if that sorts it and I'll roll out the fix to the Asset Store.

Last edited 01 May 2017

0
Invince posted this 03 January 2017

Hi, I haven't had time until now to check the forum but alas, it seems the link for the shader is no longer working.. >.

0
GarethIW posted this 03 January 2017

Fixed!

0
arknano posted this 14 January 2017

Hi Gareth, these shader files fixed the issue on Android for me!


Our 282 members have posted 390 times in 91 discussions