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
1
Question by zzzzz · May 29, 2014 at 10:41 PM · texturewebplayerphotoshop

Texture Issue causing Unity to Error on Web Player Build

I get about 14 of these errors in the Editor.log when trying to build the WebPlayer version of my Android app that runs fine.

I am wondering if there are some textures that are somehow incompatible with the Web? If so is there a way to track down which ones they are?

I am using a bunch of Photoshop PSDs with layers that have not been flattened yet...could this be it?

Any help would be appreciated... Here is the one of the errors from the log...

 !texture.texture
  
 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/GfxDevice/d3d/TexturesD3D9.cpp Line: 655)
 
 !texture.texture
  
 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/GfxDevice/d3d/TexturesD3D9.cpp Line: 655)
 
 allocation 0x00000000 already registered @ C:/BuildAgent/work/d3d49558e4d408f4/Runtime/GfxDevice/d3d/TexturesD3D9.cpp:l297 size 458850; now calling from C:/BuildAgent/work/d3d49558e4d408f4/Runtime/GfxDevice/d3d/TexturesD3D9.cpp:l297 size 458850?
  
 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/Allocator/MemoryManager.cpp Line: 1018)
 
 d3d: failed to create 2D texture id=30691 w=575 h=150 mips=11 d3dfmt=21 [invalid call]
 failed to create 2D texture
  
 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/GfxDevice/d3d/TexturesD3D9.cpp Line: 309)
Comment
Add comment · Show 2
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 zzzzz · Jun 03, 2014 at 05:50 PM 1
Share

The errors were preventing the build at first. I have 3 Scenes in my project, I unchecked 2 of them and did the build with Scene 0 and I still got the errors but the build worked anyway. I then added one more scene in and it errored but again built O$$anonymous$$. Then I added the third scene in and it also errored but built O$$anonymous$$. So I guess these are warnings and not errors? I checked the game for any missing textures and could not find any... So NON-ISSUE?

avatar image rutter · Jun 03, 2014 at 06:29 PM 0
Share

Eep. That's a new one, for me.

Is this thread any help? I found a few people mentioning various issues with memory allocation. The individual texture that errored out didn't sound huge, but if you have a lot of textures loaded, that might be an issue.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Graham-Dunnett · Jun 03, 2014 at 10:31 PM

The error appears to be saying that D3D couldn't create a texture. It's the one with a width of 575 and height of 150 pixels, so imagine it's not hard to find. You've asked for mipmaps, and possibly your GPU doesn't support mipmaps with non-power-of-two textures.

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

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Textures with alpha problem 4 Answers

Webplayer crash on LoadImageIntoTexture call 1 Answer

DARK TEXTURES IN 3.4 2 Answers

Modeling/Texturing/UV Map Maya/Photoshop/Unity Issues,Modeling/Texturing Issue From Maya to Photoshop to Unity 0 Answers

Texture Discoloration Issue When Importing Into Unity 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