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
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Longer component titles overlap navigation arrow in the "Add Component" window
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
markstokes983
Aug 23, 2020 09:34
Nice post. I was checking constantly this blog and I’m impressed! Extremely useful info specially the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and good luck.
<a href="http://bettingtipstars.com/casino/the-game-of-keno-a-brief-background.html">bk thai</a>
markstokes983
Aug 16, 2020 08:06
You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant!
<a href="http://112.140.187.62/">Agen Poker Indonesia</a>
rajputyahya51_unity
Aug 11, 2020 11:53
Wow what a Great Information about World Day its very nice informative post. thanks for the post.
click for info https://google.com.pe/url?q=https://www.kristenvincentphotography.com
rajputyahya51_unity
Aug 11, 2020 08:20
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
additional reading https://images.google.ad/url?q=https://quatthonggiocongnghiep.com/
rajputyahya51_unity
Aug 10, 2020 13:49
Thanks for this article very helpful. thanks.
check here https://google.kg/url?q=https://carrierobinsonphoto.com
markstokes983
Aug 09, 2020 20:24
This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article.
<a href="https://www.israeli-tv.com/">israeli tv</a>
markstokes983
Aug 07, 2020 12:30
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well..
<a href="https://www.escort4u.co.il/%D7%A0%D7%A2%D7%A8%D7%95%D7%AA-%D7%9C%D7%99%D7%95%D7%95%D7%99-%D7%91%D7%AA%D7%9C-%D7%90%D7%91%D7%99%D7%91-%D7%95%D7%94%D7%9E%D7%A8%D7%9B%D7%96/%D7%A0%D7%A2%D7%A8%D7%95%D7%AA-%D7%9C%D7%99%D7%95%D7%95%D7%99-%D7%91%D7%91%D7%AA-%D7%99%D7%9D/">נערות ליווי בבת ים</a>
markstokes983
Aug 06, 2020 22:03
I wish more authors of this type of content would take the time you did to research and write so well. I am very impressed with your vision and insight.
<a href="https://herbalincensecureshop.com/">Herbal incense</a>
rajputyahya51_unity
Aug 06, 2020 03:00
I think this is an informative post and it is very useful and knowledgeable. therefore. I would like to thank you for the efforts you have made in writing this article.
you can check here https://images.google.ad/url?q=https://www.saveonit.ca
rajputyahya51_unity
Aug 02, 2020 02:58
Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative. i would like to bookmark the page so i can come here again to read you. as you have done a wonderful job.
weblink https://images.google.ad/url?q=https://www.vvlcanhaus.com