Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by noahrt · Jan 31, 2020 at 10:43 AM · 2drenderingpipelineuniversallens-flare

Lens flare not showing up in game window using Universal Render Pipeline URP (2019.3)

I just want to use Lens Flare in my game, but sometimes is so difficult to do simple things in unity. I imported Unity Standard Assets (Effects) that comes with lens flare. I tried everything and the Lens flare only show in Scene view, not in Game view why? I'm using URP, This works in URP?


Everything I tried

  • My camera has the flare layer turned on

  • My camera has a flare layer.

  • The lens flare is positioned in front of the camera and not show up.

  • The lens flare is marked as directional in a light gameobject that is the sun of scene

  • Also tested lens flare not attached to a light, just attached in a empty game object

  • The lens flare has directional unchecked, also tested with directional checked.

  • Every object is on default layer

  • The lens flare is set to ignore nothing

  • The camera's far plane is 1000

  • The flare is show up perfectly in Scene view

  • There are no colliders between camera

  • The flare has a texture imported from standard asset and is bright enough

  • The flare has a correct fade speed that shows the flare quickly

  • There is no setup options for flare in Universal Render Pipeline, not even in Player, and Quality tab in preferences.

  • I've tried to attach the flare to a point light. There is no Flare setting in point light.

  • I'm not using VR, is just a simple camera.

  • Tried using physical camera and normal camera.

  • Tried to enable and disable post processes from URP

  • Tried to enable and disable "Use Fog" in Flare asset.


I'm starting to think that flares simply doesn't work in URP.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image kenmazoki · Jun 05, 2020 at 06:01 PM 0
Share

There is an asset that can give you lens flare, check this out: https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/beautify-2-163949

4 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Meceka · Feb 20, 2020 at 10:03 PM

Lens flares aren't supported in Universal Render Pipeline.

In the Features Comparison Page , you can see that both "Lens Flare" and "Flare Layer" are marked as "Not Supported"

Description of "Not Supported" is as follows.

If a feature is marked as Not supported, it's because Unity is not planning to support it in any release.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by jmarcos007 · Apr 24, 2020 at 03:09 AM

Lens Flare aren't not supported in HDRP also :( https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@7.1/manual/Feature-Comparison.html

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Holobyte · May 03, 2020 at 03:44 PM 0
Share

If lens flares aren't supported on both Pipelines, how the heck are we supposed to have lens flare in our games then?

avatar image noahrt Holobyte · May 05, 2020 at 03:36 PM 0
Share

It's sad, and they are working in features that in my opinion is less important. The Flare are not even in their to do list. In the features table they even said that "Unity is not planning to support it in any release".

https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@9.0/manual/universalrp-builtin-feature-comparison.html

avatar image
0

Answer by Jurisdiction · May 04, 2020 at 09:55 AM

If you enable YourRenderPipelineAsset>Quality>HDR it'll work.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Electro · May 04, 2020 at 11:40 PM 0
Share

Incorrect, this option doesn't even exist.

avatar image noahrt · May 05, 2020 at 03:30 PM 0
Share

Hi, in fact this option exists, is inside UniversalRenderPipelineAsset, but even checking this option, the flare dont work. It's like @$$anonymous$$eceka said, Unity simply don't support this for URP. Sad. This page list all working features.

https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@9.0/manual/universalrp-builtin-feature-comparison.html

avatar image
0

Answer by hakankaragol · Dec 15, 2021 at 08:26 AM

@noahrt

select camera - (from menu ) component - rendering - flare layer

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

339 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Localized post-processing with urp 2d renderer 0 Answers

Universal renderer not working at all 0 Answers

URP Camera stack with multiple renderers : nothing showing 0 Answers

How to use the old render feature (ARBackgroundRendererFeature) for ARFoundation - URP, with the new RenderObject (Experimental) in URPAsset_renderer ? 1 Answer

Changing URP 2D Lighting in script 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges