Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Lasse Juul-Jensen · Nov 26, 2014 at 01:56 PM · shadershaderscustom-shader

Shader compilation fails for Wii-U

When adding custom shaders to our Wii-U project, compilation fails with the error 'Not enough stack; your application must provide at least 4MB of stack space.' This happens for nearly all shaders, including most of the standard Unity shaders like the basic Diffuse shader. Using shaders included with Unity works without problems, including the Diffuse shader. The problem occurs on all newly created projects with only e.g. the diffuse shader included. The problem occurs under Unity 4.3.7f1, but apparently not under 4.2.2f1. Anyone knows how to fix this problem?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by MichaelHerring · Dec 02, 2014 at 02:45 AM

Hello,

Have you upgraded to a new Wii U SDK recently? I'm currently investigating this bug here at Unity Japan, and I believe it's related to the recently-released SDK version.

If you've upgraded your Wii U SDK, consider downgrading if possible. If that resolves the issue, great! The older version available at Nintendo's site should still be suitable for game submission, and we'll fix this bug soon. If it doesn't resolve your particular issue, please file a bug with the Unity Bug Reporter and mention this Unity Answers page in your report. Thanks!

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MichaelHerring ♦♦ · Dec 02, 2014 at 10:02 AM 0
Share

Glad to hear it. Then, no bug report needed, as I'm tracking that specific bug already. Cheers!

avatar image Lasse Juul-Jensen · Dec 02, 2014 at 12:52 PM 0
Share

Hi $$anonymous$$ichael. Downgrading cafe to 2.11.13 solved the problem. Thank you very much for the help.

avatar image erty02 · Apr 02, 2015 at 07:03 PM 0
Share

2.11.3 is not supported for Unity for Wii U, so it's best not to use that.

avatar image MichaelHerring ♦♦ · Apr 03, 2015 at 01:51 AM 0
Share

It would have worked fine to remedy this particular shader compilation error with the version of Unity for Wii U that was available back in December 2014. At any rate, since then we've released a version that properly supports 2.12.12, so the issue should be moot.

avatar image
1

Answer by Lasse Juul-Jensen · Dec 02, 2014 at 09:55 AM

Hi Michael. Downgrading cafe to 2.11.13 solved the problem. Thanks for the help :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by erty02 · Apr 02, 2015 at 07:29 PM

I'm told this was fixed in Unity for Wii U 2.2.0, so upgrading to that and upgrading your SDK should work. Someone else had the same bug. Upgrading fixed it.

Just because you have Unity 4.3.7f1 doesn't mean you have the latest version of Unity for Wii U. Try the newest version of both Unity for Wii U and the SDK.

2.11.3 is not supported for Unity for Wii U, so you may find other problems later on.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

alpha cutoff shader from map on map with already existing alpha channel 1 Answer

Strange, triangle shaped holes appearing in my applied shader. 1 Answer

RimLight Shader 0 Answers

Curved Screen Post Processing Effect 1 Answer

U5 shader coming out solid black on newer iOS devices (iPad 2 Air / iPhone 6) 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges