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.
Comments (32)
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
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
beriberis
May 21, 2020 18:26
It proved to be Very helpful to me and I am sure to all the commentators here!
send sms cyprus https://www.steilesms.com/en/
johndd110
Apr 20, 2020 11:25
Awesome blog. I enjoyed reading your articles. 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!
visit here http://sanskritijewelsbygeetika.com/