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 Thet Naing Swe · Nov 23, 2010 at 02:28 AM · augmented-realityqualcommcs0117

Unity Qualcomm AR not not compiling

Why is that error showing in Unity Editor.. Is that Unity's fault or Qualcomm?

Assets/Qualcomm Augmented Reality/Scripts/TrackerScript.cs(231,12): error CS0117: UnityEngine.GL' does not contain a definition forInvalidateState'

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

2 Replies

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

Answer by skovacs1 · Nov 23, 2010 at 03:52 PM

It is likely that this TrackerScript is not up to date so that it can work with Unity 3.0 (or was maybe broken beforehand?). I've not seen this script nor did I study in-depth Unity 2.6's GL interface, but as it stands, UnityEngine.GL does not contain a definition for anything called forInvalidateState. See for yourself.

If you are trying to ascribe blame, it would be with Qualcomm as Unity was updated and Qualcomm did not update their scripts when Unity updated their code (or Qualcomm wrote an erroneous script in the first place?). Your options are to wait for Qualcomm to correct the error (assuming that they are aware of it and intend to see it resolved), fix the error yourself or try to find and roll-back to a version of Unity in which their code worked.

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 Thet Naing Swe · Nov 24, 2010 at 03:46 AM 0
Share

So... If I ignore that line of script, will the code still working.. I tested and built it on my android and my android can't run the application. When I run it from editor, i got so many dll errors... How can I include that dlls into my Unity project.

avatar image skovacs1 · Nov 24, 2010 at 04:04 PM 0
Share

I never said to ignore the line. I said that you can try to correct it. If you've got more errors than just the one you asked about, then as stated, you should check with Qualcomm for an update or try to resolve the issue yourself. dll errors could be from a number of things depending on the error and since you don't describe them I cannot tell you what the errors mean. Dlls are a Unity Pro/$$anonymous$$obile-only feature. They can be brought into the code with the DllImport attribute. See the docs(http://unity3d.com/support/documentation/$$anonymous$$anual/Plugins.html).

avatar image
1

Answer by Artyom-Abgaryan · Aug 25, 2013 at 03:18 PM

I made refactoring/renaming function called "Clear" to "DeActivate" and got same error ! but insted of "InvalidateState" I got "Assets/Qualcomm Augmented Reality/Scripts/TrackerScript.cs(231,12): error CS0117: UnityEngine.GL' does not contain a definition for DeActivate'"

Check your code for other "Clear" to "InvalidateState" once :)

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

1 Person is following this question.

avatar image

Related Questions

How does Vuforia works in Unity ? 1 Answer

QCARUnityPlayer error 1 Answer

How to use external camera or webcam for AR in Unity ? 3 Answers

QualcommAR and RenderTextures / ImageEffects 1 Answer

Qualcomm AR Prerequisites 2 Answers


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