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

SETUP_DEBUG_TEXTURE_DATA needs to be updated for Unity 6 #4

Open
fenhelix opened this issue Aug 27, 2024 · 1 comment
Open

SETUP_DEBUG_TEXTURE_DATA needs to be updated for Unity 6 #4

fenhelix opened this issue Aug 27, 2024 · 1 comment

Comments

@fenhelix
Copy link

SETUP_DEBUG_TEXTURE_DATA needs to be updated for Unity 6

#if UNITY_VERSION >= 600000
    SETUP_DEBUG_TEXTURE_DATA(inputData, UNDO_TRANSFORM_TEX(input.uv, _BaseMap));
#else
    SETUP_DEBUG_TEXTURE_DATA(inputData, input.uv, _BaseMap);
#endif

Here is the fix:

Unity6 Fixes.zip
Screenshot 2024-08-27 at 4 21 23 PM

jiaozi158 added a commit that referenced this issue Aug 28, 2024
Refer to "#4".

Fixed a shader compiling issue on URP 17.
@jiaozi158
Copy link
Owner

Thanks for reporting the issue! it should be fixed now.

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