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 SixTwoSix · Jan 16, 2015 at 08:23 PM · crashtexture2dmemory

Unity Crash - Texture2D.ReadPixels - Only Occurs in Builds on certain Machines

Okay, so I'm working on a game that has a feature where the player can take photographs using a camera in a specific scene. These are saved into memory and can be viewed by the player in a window within this scene. In this window, they can also delete photos they have taken. When the player is satisfied, they can leave the scene and the photos they have taken, which are saved into memory, are saved into a folder within the project (if it is being tested in the editor) or a folder next to the executable (if it is a build). The issue I am having (And this issue is specific to my machine, the other people on my team have not encountered it) is that while this system works fine in the editor, in a build, the moment I click the mouse to take a photo, the game crashes. Here is the text from the error log right before the crash:

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/Standalon>ePlayerGenerated/UnityEngineDebug.cpp Line: 49)

d3d11: failed to create vertex buffer of size 8400 [0x887A0005]

d3d11: failed to create index buffer of size 420 [0x887A0005]

d3d11: failed to create vertex buffer of size 8400 [0x887A0005]

d3d11: failed to create index buffer of size 420 [0x887A0005]

d3d11: failed to create vertex buffer of size 8400 [0x887A0005]

d3d11: failed to create index buffer of size 420 [0x887A0005]

d3d11: failed to create vertex buffer of size 8400 [0x887A0005]

d3d11: failed to create index buffer of size 420 [0x887A0005]

d3d11: failed to create vertex buffer of size 8400 [0x887A0005]

d3d11: failed to create index buffer of size 420 [0x887A0005]

d3d11: failed to create vertex buffer of size 8400 [0x887A0005]

d3d11: failed to create index buffer of size 420 [0x887A0005]

d3d11: failed to create vertex buffer of size 8400 [0x887A0005]

d3d11: failed to create index buffer of size 420 [0x887A0005]

d3d11: failed to create vertex buffer of size 8400 [0x887A0005]

d3d11: failed to create index buffer of size 420 [0x887A0005]

d3d11: failed to create vertex buffer of size 9248 [0x887A0005]

d3d11: failed to create index buffer of size 1290 [0x887A0005]

d3d11: failed to create vertex buffer of size 9248 [0x887A0005]

d3d11: failed to create index buffer of size 1150 [0x887A0005]

d3d11: failed to create custom index buffer of size 63990 [887a0005]

Crash!!!

If anyone has some advice, even if it is just a place to start, I would greatly appreciate it. This scene and code aren't mine, but since it is only occurring on my machine it's kind of fallen to me to fix it for now.

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

0 Replies

· Add your reply
  • Sort: 

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

2 People are following this question.

avatar image avatar image

Related Questions

Assets Usage: unity crashes because of too many Image Assets, how to deal with this? 3 Answers

iOS crash with "Memory pressure" error - too many sprites? 0 Answers

Editor Crashes when spawning 1k objects 2 Answers

Several Memory Optimization Questions 0 Answers

Why does Unity crash? (and other programs in general) 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