Search Issue Tracker
Fixed
Votes
0
Found in
Issue ID
624539
Regression
No
GetComponents (with interface) does not work if the interface is specified in txt
var components = new List <Component>();
t.GetComponents(typeof (ICanvasRaycastFilter), components);
Will not return c++ objects that have an interface on their TXT layer (like CanvasGroup). It works properly for c# (MB) objects
This will work... but then you need to cast
t.GetComponents(components);
var element0 = components[0] as ICanvasRaycastFilter;
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] The Player freezes when disabling Bluetooth while connected to the headphones
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
Add comment