Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 Tawei · May 13, 2013 at 03:29 PM · vuforiaframedrawingreadpixels

Vuforia & Unity readpixels error

Hi all,

Past month i've been working with Unity and Vuforia to create an Augmented Reality game for android/tablet. I've been working with a unity-pro trial and since today i've got a full unity pro license. Now i don't know if it has to do with the change from trial to full, but ever since i'm getting the error:

ReadPixels was called to read pixels from system frame buffer, while not inside drawing frame. UnityEngine.Texture2D:ReadPixels(Rect, Int32, Int32, Boolean)

and

Trying to read pixel out of bounds

Leaving me unable to run the game in the editor. It works fine when i build it towards my android or switch platform to pc. But that takes lots of time and i really want to keep bugtesting in the editor instead of building everytime i would like to test something new.

I've tried lots of things already (complete new projects, exporting and importing packages and added a external webcam as well).

(Also: im getting a Webcam profile nog found! error from the WebCamBehaviour script, might have something to do with it)

Thanks in advance,

Tawei

Comment
Add comment · Show 3
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 DaveA · Jun 20, 2013 at 09:21 PM 0
Share

You should also post this in the Vuforia forums at Qualcomm

avatar image todbertuzzi · Jun 25, 2014 at 11:56 AM 0
Share

I just buyed Unity3d Pro License and then when i test the app which i'm working (built with Vuforia) it fails giving me the ReadPixels error...

Before i used the Trial Pro Version and all works as expected..

Any Solutions?!

I m so disappointed i just spend so many bucks to buy it!

Emiliano

avatar image htudrshtsrhtsthsht · Jul 04, 2014 at 10:18 AM 0
Share

Hello,

So I was having the same problem: I took a unity free, upgraded to trial, and the ReadPixel was working fine. Then I bought the unity PRO, and the ReadPixel occured... But only on IOS/ Android. It was working fine in web & standalone.

I emailed the support, and it turns out that to be able to use the ReadPixel thing on IOS/ Android you have to pay for these add-ons (1500$ each ><) for these platform as well.

Hope this helps

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Tawei · May 16, 2013 at 07:29 AM

Hi all,

I still haven't managed to fix the errors, but i did find something odd about the editor.

These errors started happening when i switched to a full pro version, from a trial pro version. Yesterday i started my project in another pro-trial and what do you know? The bug disappeared...

So i guess this has something to do with the full pro version, but everything seems up to date. Starting to feel lost in this o.O

Comment
Add comment · Show 2 · 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 IreneR · May 23, 2013 at 08:33 AM 0
Share

Hi,

does this error also happen with the ImageTargets sample app?

avatar image dleight · Jan 15, 2014 at 10:50 PM 0
Share

Has anyone found a solution to this? I am having the same problem. I had everything working fine with the Unity Pro trial, then my trial expired and everything still worked fine. Then I upgraded to a full (i.e. non-trial) license and I'm getting the readpixels error in play mode. I am able to compile to iOS without issue, but can't test in play mode anymore without receiving the ReadPixels error.

Any help is greatly appreciated I am on a very tight timeline.

Thanks for your help.

$$anonymous$$

avatar image
0

Answer by fafase · Nov 20, 2014 at 11:13 AM

This is long gone I know but in my case the problem came from the selected build platform.

As I was building for Android, I selected it but trying to launch back in the Editor and the error comes in. Switch back to PC/Mac and that goes again.

I would guess there is a macro in their code that is not taking care properly of the platform.

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 Chrifer7 · Dec 17, 2014 at 09:40 PM

Did you check this solution ?

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

27 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 avatar image avatar image avatar image avatar image avatar image

Related Questions

How to stage drawing in phases 1 Answer

Cloud recognition in Vuforia 0 Answers

Getting ReadPixels error, but not calling ReadPixels, project runs fine. 0 Answers

Frame Debugger Can't hold frame 1 Answer

Changes of Transform cancel on next frame after change 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