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

    Jul 22, 2020 05:57

    Thanks for the post and great tips..even I also think that hard work is the most important aspect of getting success..
    <a href="https://truscapes.com.au">https://truscapes.com.au</a>

  2. beriberis

    Jul 22, 2020 04:31

    Wow what a Great Information about World Day its very nice informative post. thanks for the post.
    E67 Agency https://www.e67agency.com

  3. rajputyahya51_unity

    Jul 21, 2020 16:57

    Positive site. where did u come up with the information on this posting? I'm pleased I discovered it though. ill be checking back soon to find out what additional posts you include.
    Https://supfort.com https://supfort.com

  4. beriberis

    Jul 21, 2020 10:17

    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!!!!!!
    Clickfunnels https://www.utilizeyourbusiness.com

  5. hidok52765

    Jul 20, 2020 08:09

    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.

    sàn Wefinex https://tienkythuatso0.livejournal.com/

  6. hidok52765

    Jul 19, 2020 10:45

    This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!.
    PMA test kit http://summerschooldns.ning.com/profiles/blogs/find-out-about-passing-a-medicine-test

  7. hidok52765

    Jul 18, 2020 19:09

    Thanks for the nice blog. It was very useful for me. I'm happy I found this blog. Thank you for sharing with us,I too always learn something new from your post.

    ecstasy test kit http://articlesubmissions.inube.com/blog/8689472/employment-and-workplace-drug-testing/

  8. beriberis

    Jun 02, 2020 11:06

    This is my first time i visit here and I found so many interesting stuff in your blog especially it's discussion, thank you.
    schutzmaske https://www.hewecon.de/

  9. beriberis

    May 30, 2020 12:41

    Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have.
    Risk Management software http://enactia.com/

  10. beriberis

    May 22, 2020 15:29

    Your website is really cool and this is a great inspiring article. Thank you so much.
    ccpa https://esowatch.org/

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.