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

Two Diff Scenes with Diff Pixel 2D Camera Produces Garbage #2

Open
paulhocker opened this issue Mar 31, 2016 · 3 comments
Open

Two Diff Scenes with Diff Pixel 2D Camera Produces Garbage #2

paulhocker opened this issue Mar 31, 2016 · 3 comments

Comments

@paulhocker
Copy link

It seems like if I have more than one scene that uses pixelcamera2d that the quad textures get messed up and looks like garbage. I am forced to recreate the quad asset again. Do I need to create multiple prefabs? Any ideas?

I have tried creating multiple prefabs, and using the same quad. It just seems to want to do whatever it wants sometimes.

Unity 5.3.2f1 Windows 8.1 64bit

Any help is appreciated.

snag-0003-3-31-2016-00-31-am

@RyanNielson
Copy link
Owner

Any chance you can upload a zip of a simple project that demonstrates this? It seems super strange.

@paulhocker
Copy link
Author

Yup. I created two diff tests. One with Unity 5.3.2, and one with 5.3.4 - both produce the same results. I really hope this is something dumb I'm doing on my part.

:)
PixelCamera2D-Corrupt-RenderTexture-Test-PaulHocker-20160331.zip

@paulhocker
Copy link
Author

Ryan - in the docs it talks about the fact that the RenderTexture can become corrupt, and to use IsCreated to check. I am looking at your code to see if that is there.

http://docs.unity3d.com/ScriptReference/RenderTexture.html

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

2 participants