Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

unreal engine crash with demo #11

Open
M1st3rTea opened this issue Oct 14, 2015 · 7 comments
Open

unreal engine crash with demo #11

M1st3rTea opened this issue Oct 14, 2015 · 7 comments

Comments

@M1st3rTea
Copy link

Hi, I had issues with the psmoveapi but it's now fully working.

The problem is I can't get the demo level to launch without having this crash :

MachineId:F5F4BB5F4735B6DD1477E98B2AD7A86C
EpicAccountId:217a65df23ab402eacdf8c303b6fc7fd

Access violation - code c0000005 (first/second chance not available)

""

psmoveapi
psmoveapi
psmoveapi
UE4Editor_PSMove!TrackingContextUpdateControllerConnections() [c:\users\mistertea\documents\unreal projects\simpleue4psmove\plugins\psmoveplugin\source\psmove\private\fpsmoveworker.cpp:422]
UE4Editor_PSMove!FPSMoveWorker::Run() [c:\users\mistertea\documents\unreal projects\simpleue4psmove\plugins\psmoveplugin\source\psmove\private\fpsmoveworker.cpp:182]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]

@brendanwalker
Copy link
Contributor

If you are crashing in TrackingContextUpdateControllerConnections() it means that the plugin successfully connected to your camera but blew up trying to connect to the psmove controller itself (in psmove_connect_by_id). I think I've seen this behavior before when I had a psmove controller previously paired, but then the controller shut off some time later. The HID device enumeration says there is a controller available, but then fails on actually connecting. I think the psmoveapi doesn't handle this case as well. Can you suscessfully run test_tracker.exe in the tools folder? Is the controller actually paired? If both of these are true and you are still getting the crash we can try add the symbols for the psmove dlls to the repo so that we can figure out where in the psmoveapi it's actually crashing.

@tomazcdn
Copy link

Hi MisterTea,the PSMOVE API isnt mine,its from mr Cboulay but i installed and
have sucess on project,i am passing the same proble as you,i try to conect
the psmove in bluetooth but it dont pair,i think its the bluetooth who dont
have EDR function,so i build the project and it work fine,but it dont
movement because my psmove dont pair,so i stoped to try because i need to
buy an bluetooth with EDR,i think i will buy the 4.0 with EDR,so these days
i am busy with others studys but i will come back to unreal soon,i am
making a project for VR,i am building the scenario.... what are you making
?

Anyway i will tell you the cboulay email so you can contact hin,i just
forked his project for have sucess on my PC,and it worked

His email:
[email protected]

i wish you sucess,if you can use psmove please contact me i really want to
know what isnt working... i really want to use move to make good games for
it and interact more lively on games,a game that inspire much me is sport
champions,so i want to make some Sword Art online teaser or medieval

2015-10-14 14:26 GMT-03:00 Brendan Walker [email protected]:

If you are crashing in TrackingContextUpdateControllerConnections() it
means that the plugin successfully connected to your camera but blew up
trying to connect to the psmove controller itself (in
psmove_connect_by_id). I think I've seen this behavior before when I had a
psmove controller previously paired, but then the controller shut off some
time later. The HID device enumeration says there is a controller
available, but then fails on actually connecting. I think the psmoveapi
doesn't handle this case as well. Can you suscessfully run test_tracker.exe
in the tools folder? Is the controller actually paired? If both of these
are true and you are still getting the crash we can try add the symbols for
the psmove dlls to the repo so that we can figure out where in the
psmoveapi it's actually crashing.


Reply to this email directly or view it on GitHub
#11 (comment).

@tomazcdn
Copy link

So recently i discover i got an psmove api for Unity,it works but i cant test sure because of psmove that dont pair,i trayed many times.... now i am confused wich one i use,Unity or Unreal,in final i think i go to unreal,its more bealtiful and more easy sometimes.

@M1st3rTea
Copy link
Author

Hi, first of all, pairing is working with the original repo of psmoveapi : https://github.com/thp/psmoveapi
keep in mind that if you are using Windows 10 you have to use hidapi 0.70 or else you will fail in connecting the psmove.

Regarding Unreal, I have not any project in mind atm, I guess it's more I want to experiment the api in "live".

About test_tracker, it works fine with the original repo binary but doesn't on this one.

@cboulay
Copy link
Collaborator

cboulay commented Dec 30, 2015

@M1st3rTea , what's the status with this issue? Are you still experiencing crashes?

@M1st3rTea
Copy link
Author

@cboulay Yes, sadly I never got it to work.

Any idea ?

@cboulay
Copy link
Collaborator

cboulay commented Dec 30, 2015

I guess I'll need you to test everything step-by-step, using the files in this repo's Binaries/Win64 folder.

  1. ps3eye_sdl.exe
  2. psmovepair.exe
  3. psmove-pair-win.exe
  4. test_tracker.exe
  5. test_opengl.exe

Let me know how those go, and if they fail, what the error messages are.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants