UIEffect icon indicating copy to clipboard operation
UIEffect copied to clipboard

Blur Image reversed

Open buihuuloc opened this issue 5 years ago • 28 comments

Hi there,

I got the problem that the blurred image was reversed by somehow.

It happens on both devices and editor

Is there anyone got this problem?

buihuuloc avatar Mar 16 '19 12:03 buihuuloc

Also, Somehow the UISoftMask is also reversed

buihuuloc avatar Mar 16 '19 15:03 buihuuloc

@mob-sakai Have you ever seen this bug before?

It only happens in a specific condition.

buihuuloc avatar Mar 16 '19 15:03 buihuuloc

Hi @buihuuloc

Yes. In fact, this problem has occurred many times and has been fixed many times. https://github.com/mob-sakai/UIEffect/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed+flip

In most cases, this is due to changes in shaders and algorithms. It is difficult to test on all platforms, devices (GPUs and graphic libraries), Unity versions and RenderModes... I have no idea how to test this problem automatically right now.

Somehow the UISoftMask is also reversed

Does the problem occur with v0.7.2 released yesterday?

mob-sakai avatar Mar 16 '19 21:03 mob-sakai

It only happens in a specific condition

Please tell me the detail.

mob-sakai avatar Mar 16 '19 22:03 mob-sakai

The SoftMask flip was fixed with the latest version.

buihuuloc avatar Mar 17 '19 04:03 buihuuloc

However, It still happens with UIEffect. It still works on the editor. On the device, It only shows the black image

Unity Version: 18.3.1f1 UIEffect latest version: Devices: iPhone 7+ UIEffect_Catpure Graphic Settings

buihuuloc avatar Mar 17 '19 05:03 buihuuloc

Thank you for the detail informations!

mob-sakai avatar Mar 17 '19 06:03 mob-sakai

Is RenderMode "Screen Space-Overlay"? Or "Screen Space-Camera"?

mob-sakai avatar Mar 17 '19 06:03 mob-sakai

I am using Screen Space with Camere. It works on the editor.

buihuuloc avatar Mar 17 '19 06:03 buihuuloc

It happens after upgrading to the newest version

buihuuloc avatar Mar 17 '19 06:03 buihuuloc

What version did you use before?

mob-sakai avatar Mar 17 '19 06:03 mob-sakai

It seems a very old one. I don't remember exactly.

buihuuloc avatar Mar 17 '19 07:03 buihuuloc

I added SpriteGlow package in my project

buihuuloc avatar Mar 17 '19 07:03 buihuuloc

Hmm, I see.

mob-sakai avatar Mar 17 '19 07:03 mob-sakai

I checked my project. I am using version v2.6.1. It is a very old one

buihuuloc avatar Mar 17 '19 07:03 buihuuloc

I've just updated to v2.8.3 and It works now.

How can I upgrade from version v2.x to version v3.x?

Thanks, Loc

buihuuloc avatar Mar 17 '19 08:03 buihuuloc

That information is very important! Thank you!

mob-sakai avatar Mar 17 '19 08:03 mob-sakai

so in what version is this solved?, i have a problem that the blur doesn't work in the build but does in the editor, im troubleshooting it right know version 3.0.1. By doesnt work i mean that when i click the button it makes darker the screen but doesnt blur, also dark color is not normal as i putted multiply by white

AbrahamArmasCordero avatar Mar 23 '19 23:03 AbrahamArmasCordero

Hi @AbrahamArmasCordero Can you submit a screenshot and a minimum project that reproduce the issue? They help to solve the issue.

mob-sakai avatar Mar 24 '19 00:03 mob-sakai

If you use "Immediate Capturing" option, disable it. It doesn't work on some devices and will be removed next version.

mob-sakai avatar Mar 24 '19 00:03 mob-sakai

Im testing 3.1.0, if it happens again i'll publish a custom issue for this with all the details i can provide :D. i was in 3.0.1 2018.3.2f1 LWRP Setup and not Immediate Capturing activated :D, i also had installed old version of TMP UIEffects bad setup so i'm making everything again let's see if that works 💃

AbrahamArmasCordero avatar Mar 24 '19 00:03 AbrahamArmasCordero

Capture twice in the same frame may reproduce the problem.

Matata-lol avatar May 23 '19 07:05 Matata-lol

@boloyo Thank you for reporting. I would like to know more information.

  • Unity version
  • UIEffect version
  • Platforms
  • Others

mob-sakai avatar May 23 '19 08:05 mob-sakai

@boloyo Thank you for reporting. I would like to know more information.

  • Unity version
  • UIEffect version
  • Platforms
  • Others

UIEffect v3.0.2, using Unity 2017/2018 build and run on latest iOS with Immediate Capturing off , this problem never happened on Editor.

Matata-lol avatar May 23 '19 08:05 Matata-lol

@boloyo Can you submit a reproducible minimum project for this issue? It helps to solve the issue.

mob-sakai avatar May 23 '19 08:05 mob-sakai

@boloyo Can you submit a reproducible minimum project for this issue? It helps to solve the issue.

Just add Capture(); after the Capture(); in UIEffectCapuredImages.cs at line 219, then run the demo on iOS device, click "open dialog".

Matata-lol avatar May 23 '19 09:05 Matata-lol

Thanks! I will try it later! 😄

mob-sakai avatar May 23 '19 09:05 mob-sakai

Thanks! I will try it later! 😄

I created a bugfix pull request for the bug, just for reference.

Matata-lol avatar May 23 '19 10:05 Matata-lol