Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: shokinhan on July 29, 2012, 11:13:34 PM
-
I have meet some problem.
desc:
I have use the softclip property of uipanel, then all is right on the uinty player, but when I published the game for web, the softclip would be with bug, the softclip is invalid.
-
Check quality settings and make sure that they are the same for your web build as they are for the editor.
-
Your means is that the players settings right?
-
No, I mean the quality settings. You may have it set to use "fastest" for web builds, for example.
-
I have use the quality settings with fastest. But the uipanel's area out of the softclip can be saw!
(http://e:/1.jpg)
-
Fastest means shaders are turned off. You can't have it on Fastest. Set it back to Good or higher.
-
I have try to set the quality with good, but the area out of the uipanel hardclip and softclip are saw also on the platform of web, it likes the softclip and hardclip is invalid on the platform of web, and then all is ok on the platform of unityeditor.
(http://src = "E:/1.jpg")
-
All your image links are broken.
-
insert picture is that " (http://src= "e:/1.jpg") " ?
I insert into picture failer!!!
-
picture
-
I have try to set the quality with good, but the area out of the uipanel hardclip and softclip are saw also on the platform of web, it likes the softclip and hardclip is invalid on the platform of web, and then all is ok on the platform of unityeditor.
picture on windowsweb:
Picture one and picutre two are error on the webplayer!
But on the platform of unityeditor is ok, eg:3.jpg
-
Did you happen to move the shaders perchance? They must be in the Resources folder in order for NGUI to work. Try building one of NGUI's examples that uses clipping. Also make sure that all scales leading up to and including your panel are uniform -- meaning (1, 1, 1) in most cases, all 3 values must match.
-
I have check the 3 condition and the layers are the same like 'UILayer' , the scale are (1.0,1.0,1.0), the quality are 'good'.
configure:
-
No, the quality is not "Good". See the green color? That's the color you have selected. It's "Fastest".
Like I said -- it must not be on Fastest. Set it to Good or higher.
-
I have try ,but the softclip and hardclip about uipanel is wrong on the webplayer.
I export the scroll view example for webplayer width fasteast or good or beautiful, and it is ok!
This probleam takes off me one day, I don't know why the uipanel about softclip and hardclip property are invalid on the webplayer, but it's ok on the unityeditor.
-
Please stop posting the same question several times. That was the 3rd thread of yours I had to delete because it's a duplicate of this one.
I already told you what may be the problem. Beyond that, I don't know. You will have to investigate yourself.
-
OK
-
I have two different camera , one is sence camera, another is uicamera, they are different layer, May be it can cause the bug?
-
No. There are only two known causes for something like this, and I've mentioned both of them -- either shaders aren't working due to you using the "Fastest" setting, or your UI is not scaled uniformly. All scales must be (1, 1, 1), with the exception of widgets and UIRoot.
-
Dear ArenMook:
I have found the Unlit/Transparent Colored (SoftClip) is null, because NGUI's shader not be load on webplayer!
Where NGUI's shader should be put?
thanks?
-
Exactly where NGUI puts it -- in the Resources folder. I already mentioned this earlier:
Did you happen to move the shaders perchance? They must be in the Resources folder in order for NGUI to work.
-
I have try to find shader , the shader "Unlit/Transparent Colored (SoftClip)" cannot be found, but the shader of "Unlit/Transparent Colored" can be found, this two shaders are in
"Assert/Resource/Shaders".