1
NGUI 3 Support / Re: Android ATOM Device - Unlit/Transparent Colored (SoftClip) Error
« on: August 20, 2014, 08:26:41 PM »I'm surprised that worked at all, to be honest. I have never seen the vertex output declared outside the function. Where did you see this used like that?
Nowhere, I just tried it to see if it worked and it did.
Reading the logcat gave me the sense that the error was declaration related and was similar to the AOT declaration issue that pops up on iOS (rightly or wrongly) so I just gave it a try and it worked.
Solved the issue on the device and works fine in the Editor and on ARM as well.
Isn't it just a global vs local declaration thing? Who said you can't do it?
I didn't see any errors or warnings in the console either so maybe Unity shader compile handles it just fine?
If so you may want to update the base NGUI shader (after confirm testing yourself;-)
Especially as DH confirmed official Intel Android chip support in the #Unite14 Keynote
Update:
Intel PR here
IntelPR
Intel and Unity Collaborate to Extend Android Support across Intel-based Devices
http://newsroom.intel.com/community/intel_newsroom/blog/2014/08/20/intel-and-unity-collaborate-to-extend-android-support-across-intel-based-devices
https://software.intel.com/en-us/blogs/2014/08/15/unity-android-support
Unity* Resource Center for x86 Support
https://software.intel.com/en-us/articles/unity