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

Viewport issue using Canvaslayer and viewportsprite. #7286

Closed
0nepixel opened this issue Dec 13, 2016 · 3 comments · Fixed by #20252
Closed

Viewport issue using Canvaslayer and viewportsprite. #7286

0nepixel opened this issue Dec 13, 2016 · 3 comments · Fixed by #20252

Comments

@0nepixel
Copy link

Runing under Windows 7
When you place a viewport as a child of a canvas layer the render target breaks and you can't use the viewportsprite to render the viewport's texture.

  1. Create a new Canvaslayer, after that create a new viewport inside the canvaslayer and set a sprite as a child of the viewport node.
  2. Create a new viewportsprite and assing the viewport (inside or outside the canvaslayer is the same).

At this point the viewport stop working and the viewportsprite can't access to the viewport's texture, also you can't call the viewport's texture from other canvaslayer using the viewportsprite (this method works just fine in versions before 2.1 stable).
Test Case Project:
https://drive.google.com/open?id=0B3mjAjcuXnKqZzBJQWlhQ2xrRm8

@ghost
Copy link

ghost commented Apr 8, 2018

First of all thank you for your report and sorry for the delay.

We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.

We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about it here?

For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.

Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.

Thanks in advance.

Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

@MeiHouwang
Copy link

The issue is still persist and greatly annoying in version 2.1.5
Will it be ever fixed?
Just please don't try to push it to 3.x branch, it is completely unusable by now and there is no sign that it will be usable in the following two years.

@akien-mga
Copy link
Member

It's fixed in 3.1-dev, and will eventually be fixed in 3.0.x too if @RandomShaper's pull request is merged.
For 2.1, a cherry-pick could be considered.

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

Successfully merging a pull request may close this issue.

5 participants
@akien-mga @bojidar-bg @MeiHouwang @0nepixel and others