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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
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>
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
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
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
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/
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
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/
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/
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/
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/