Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portals show blank texture when used in Additive Loading #23

Open
mtorruella opened this issue Oct 31, 2023 · 0 comments
Open

Portals show blank texture when used in Additive Loading #23

mtorruella opened this issue Oct 31, 2023 · 0 comments

Comments

@mtorruella
Copy link

I am attempting to use this portal package alongside an Additive Scene Loading system. The idea is that the user will enter the loading volume, which will cause the relevant scene to be loaded asynchronously to the game along with any portals that would also be in that scene.

The problem is that when the scene is loaded, the portals load with it but have blank gray textures on the screens instead of the correct renderTexture. Unloading and reloading the scene doesn't affect it. Oddly enough, the portals are perfectly functional otherwise. The player is able to move through them without issue. They just look like blank gray walls instead of clear portals.

When I load the scenes individually to test the portals work as expected. If I don't use Additive Loading then they work as expected. If I place a player object in the second scene facing the portal, then start the game from the first scene, walk into the loading volume, and jump back out to the editor view, I can see that the Main Camera from the first scene does indeed see the correct texture on the portal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant