Hello, the problem is that if I hide the game and then expand it, the view that I add to the main window becomes invisible, although the view itself is not destroyed, but I only see the unity scene.
Adding a view using the following code:
Unity Player.current Activity.addContentView(content, content.getLayoutParams());
in versions 2020 and 2021 to 2021.3, everything worked fine, but now it has stopped, when I open the game, it even seems to me that my representation in the form of animation fades out. Someone has faced such a problem, why is it so?
Example: I added a TextView via the plugin to the main view of the unity activity, it is displayed on top of the unity scene, everything is fine. But now, if I collapse and expand the game, then I only see the unity scene, although through the code I can access the TextView (that is, in fact it has not been destroyed or removed from the hierarchy, but it is not visible).
Thank you in advance!