Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

4.5.1f3

Issue ID

573567

Regression

No

Cannot add default Flare Layer component to a Camera from code

Camera

-

To reproduce:
1. Generate code that creates a camera; i.e. Camera someCam;
2. Generate code to add a flare layer component; i.e. someCam.gameObject.AddComponent<FlareLayer>();

Expected result:
Ability to add all default camera components via code.

Actual result:
You cannot. Flare Layer does not exist as a class / type.

Side problem:
As there isn't a C# version of FlareLayer class that the Camera depends on, this will get stripped from iOS builds if not used in a scene and crash on Light::RemoveFromManager.

Comments (32)

  1. rajputyahya51_unity

    Aug 01, 2020 15:17

    thanks for the tips and information..i really appreciate it..
    visit homepage https://maps.google.ad/url?q=https://www.melissalynphotography.com

  2. rajputyahya51_unity

    Aug 01, 2020 10:59

    Thanks for the blog post buddy! Keep them coming...
    try this out https://images.google.ad/url?q=https://www.throughalenz.com

  3. rajputyahya51_unity

    Jul 31, 2020 17:39

    This is my first time i visit here and I found so many interesting stuff in your blog especially it's discussion. thank you.
    this content https://images.google.ad/url?q=https://www.amberniedermaier.com

  4. rajputyahya51_unity

    Jul 31, 2020 06:49

    Wow what a Great Information about World Day its very nice informative post. thanks for the post.
    sneak a peek here https://www.google.az/url?q=https://danielletrina.com

  5. rajputyahya51_unity

    Jul 31, 2020 01:07

    Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.
    review https://images.google.ad/url?q=https://www.birthbymelissa.com

  6. rajputyahya51_unity

    Jul 28, 2020 07:52

    Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts.
    PortlandUpholsterySpecialists.com https://PortlandUpholsterySpecialists.com

  7. rajputyahya51_unity

    Jul 26, 2020 14:33

    Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder. what about the other side? !!!!!!THANKS!!!!!!
    shopify developers https://studio.shopision.com

  8. rajputyahya51_unity

    Jul 26, 2020 10:15

    Excellent and very exciting site. Love to watch. Keep Rocking.
    Real Fencing https://realfencing.co.nz

  9. rajputyahya51_unity

    Jul 24, 2020 04:23

    Thanks for the blog post buddy! Keep them coming...
    máy ipl triệt lông https://www.4shared.com/music/LdtE5mQ1iq/speech__4_.html?

  10. rajputyahya51_unity

    Jul 23, 2020 15:16

    The information you have posted is very useful. The sites you have referred was good. Thanks for sharing...
    giá máy triệt lông https://public.tableau.com/profile/osakacoss#!/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.