Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

which version can exactly run success? #460

Open
yinhun2012 opened this issue Nov 2, 2021 · 6 comments
Open

which version can exactly run success? #460

yinhun2012 opened this issue Nov 2, 2021 · 6 comments

Comments

@yinhun2012
Copy link

i have worked a whole week for spectator view on hololens2 glass and android phone and ipad,but still cannot run it successful!
1.i use master version and unity2019.2.19f1,package out uwp and .apk,use qrcode detection and(or) azure spatial detection,hololens is ok,but android shows tracking always losted status,i change wifi and network,ping the connectivity,network works fine,but android phone just cannot tracking.
2.i use release 1.1.0,and unity2018.3.14f1,hololens works fine,hololens it's aways ok,but android .apk crashed on cellphone,when open,it crash,android studio logcat shows "Microsoft.MixedReality.SpectatorView.Unity.ScreenRecorderActivity" caused error.
3.both above mssv version clone on mac,run SetupRepository.sh,settle the external project,then open SpectatorView.Example with matching unity editor,package out xcode project,then package on ipad,finally,100 undefined symbols error come out,whether i use which version of unity editor pack out the xcode project,the "100 undefined symbols" still come out.
now i prepare to use release 1.0.0,follow the instructions again,i hope it works fine,and if some one tell me which exactly version could run successfull,i appreciate that!
these instructions is simple for operate,the main problem is download speed is very slow in china region,every version tooks a whole day to download the external project,then i use half to one hour edit setting and package,then it tell me failed,if i got the high speed for download,i could test all version for spectator view.

@xiiihopeestheim
Copy link

I got it working on 2019.2.19 and the latest code of MixedReality-SpectatorView. I'm using an android phone capable of ARCore though.

I encountered some issue regarding the network sockets between hololens and android phone but I got it resolved using the steps from here:
https://forum.unity.com/threads/il2cpp-failing-in-windows-machine.891436/

@yinhun2012
Copy link
Author

ten days passed,i have run it succeed!
the network connection problem solved by changing a new wifi,last saturday i was boring at home,then try to work it,and connect works fine! ,i don't understand,the wifi in my company is broken?but i always use it for LAN program testing and pinging right.
but,bad question is:i still can't use the github's project to configurate and run,at present,i found a fine online frient(a good AR/VR programmer),he has one backup of SpectatorView at 2021.4,he configurated it already,then send for me,so solved my problem.
now,i had added local socket network server and client function in project,satisfy my function needy,it works good now,not only could observe the realtime scene as spectator but also send some message to control and display new things.

@yinhun2012
Copy link
Author

by the way,i have test several version of unity,and find out only 2019.4.22f1c1 has no problem

@xiiihopeestheim
Copy link

That is good to know! I hope you get everything work smoothly for your project.

What device are you using btw? For android, I encountered a problem that video recording is not working.. By chance did it work with the spectator view backup that you got?

@yinhun2012
Copy link
Author

android cellphone realme gt neo,as you said,i just test the screen recording function,it does't work either,the countdown stuck at 0,i also notice that:the SpectatorViewExample does't got the storage readwrite permission,so even if the Example could record video,but it can't write on disk,unfotunate,the notebook i use for programming has being taken by my workmate,now i only got a imac without nothing on it,so i can't test add permission for .apk and test it -_-,i think you can test add permission what recording function needy,or add another video record plugin such as UnityRecorder/NatCorder etc,if i got back my notebook,i will post the backup project to github and publish link here.

@yinhun2012
Copy link
Author

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

2 participants