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
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/