Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 xrtraptor · Oct 26, 2017 at 04:39 PM · errorcrasherror messagedebug

an unhandled win32 exception occurred in unity.exe [26640]

When trying to press play within my unity application the error occurs. I'm not sure what this is from. I just upgraded to the latest version of unity and the newest holotoolkit. I was running 5.5 before this. It is a brand new project build with the format for the mixed reality program and some game objects.

Unhandled exception at 0x00000001418ABCD4 in Unity.exe: 0xC0000005: Access violation reading location 0x0000000000000000.

If there is a handler for this exception, the program may be safely continued.

This appears in visual studio when opened

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

Answer by MaxE7 · Nov 02, 2017 at 03:11 PM

I'm getting the same issue. I'm also developing for hololens but I'm not using the holotoolkit.

The issue appears to be raycasting and then moving the camera. Although sometimes it just crashes instantly when I play the scene.

I also noticed that the direction argument of the Raycast seemed to make a difference. When I used

 Camera.main.transform.forward; 

it crashed less.. When I used

 (world.transform.position - Camera.main.transform.position).normalized;

It crashed every time I moved the camera in the scene.

Comment
Add comment · Show 3 · 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 Suddoha · Nov 02, 2017 at 03:34 PM 0
Share

"It crashed every time I moved the camera in the scene."

Why would you move the camera in the first place? Imean, it's the HoloLens. The device itself should be the one managing the camera's position and orientation. I wouldn't mess with it.

avatar image MaxE7 Suddoha · Nov 02, 2017 at 03:47 PM 0
Share

I am testing raycasting from the Camera's position in editor. It's perfectly reasonable to want to move the camera around for testing purposes in editor.

avatar image Suddoha MaxE7 · Nov 03, 2017 at 02:32 AM 0
Share

Oh never$$anonymous$$d then, I thought you'd also move it when running it on the device.

avatar image
0

Answer by hexagonius · Dec 09, 2017 at 06:23 PM

Running Hololens or Mixed Reality Hardware, you should definetly use Unity 2017.2 MRTP5. It's a microsoft branch where they fix MR issues within Unity on a different schedule than the usual Unity versions

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

103 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 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 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 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

Does anyone know what "Invalid Cached Offset Error" is? 0 Answers

Unity 4.0.0f7 GetThreadContext failed 2 Answers

Unity Gradle Build Failed 0 Answers

All scripts in unity have stopped working 1 Answer

PLEASE HELP ME.. I AM IN STUCK :'( 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