AdamStreck Posted November 30, 2018 Share Posted November 30, 2018 Viveport SDK for Unity crashes Viveport. Steps to reproduce: Launch Viveport (tesed version 1.2.8) Start new Unity project (tested version 2018.2.13f1) Import Viveport SDK (tested version 1.7.10) Open Empty Scene Create new script with the first example code for Unity SDK at https://developer.viveport.com/documents/sdk/en/api_top.html#detailed-example-in-unity In the script replace the VIVEPORT_ID for the ID of your application Place the script on an object Hit Play Viveport starts lagging and eventually (~10 seconds) crashes Sometimes it survives first play, but once the game is paused and played again it crashes for certain. Unable to develop further as the very fist example code snippet causes meltdown of the SDK. Please advise. Link to comment Share on other sites More sharing options...
HackPerception Posted November 30, 2018 Share Posted November 30, 2018 - Can you please look into this report? - Do you have any logs associated with this behavior? Link to comment Share on other sites More sharing options...
AdamStreck Posted November 30, 2018 Author Share Posted November 30, 2018 Thank you for the quick reply. Here's the editor log (it's more executions, not all result in a Viveport crash, latest one did): https://drive.google.com/open?id=1NOKjmOoSOlhVIkgiY7oNAw7IyVGZl7gL Here's a screenshot, I was checking the Task manager, in general Viveport seems to take immense amount of CPU when the snippet is executed (even leaping over 50%) and not decrease once the Unity execution stops. Configuration: Windows 10 (1803) GTX 1070 Intel i7-6700 Let me know if I can provide something else. Link to comment Share on other sites More sharing options...
James Lee Posted December 3, 2018 Share Posted December 3, 2018 We cannot reproduce this issue at our side, please help to execute "VIVEPORT Feedback" for getting detail log of VIVEPORT to us. Link to comment Share on other sites More sharing options...
James Lee Posted December 3, 2018 Share Posted December 3, 2018 Please follow these steps to get detail logs. Link to comment Share on other sites More sharing options...
AdamStreck Posted December 4, 2018 Author Share Posted December 4, 2018 The logs have been submitted, also available to download here: https://drive.google.com/file/d/1NURcKc0tWLqmEXkJhUeFi9QVP4euiN_4/view?usp=sharing Link to comment Share on other sites More sharing options...
James Lee Posted December 6, 2018 Share Posted December 6, 2018 After checking the log, Viveport was OOM at that moment, It seems that you were kept calliing APIs in every frame, Could you provide your unity project for us to check? or do not call the api in every frame. Link to comment Share on other sites More sharing options...
AdamStreck Posted December 6, 2018 Author Share Posted December 6, 2018 The code is literally just the first API example thrown on a single gameobject with the AppID changed. From what I can see there's no continuous calling of the API here: https://developer.viveport.com/documents/sdk/en/api_top.html?__woopraid=ltqn03tReSbU&_ga=2.214637972.247956097.1544001584-450330755.1512727222#detailed-example-in-unity I'll be able to bundle and upload the project later today. Link to comment Share on other sites More sharing options...
AdamStreck Posted December 7, 2018 Author Share Posted December 7, 2018 I've bundled the failing code : https://drive.google.com/file/d/1jVHmvvv4P0NVxvjNf-yhH3scNovwUgy1/view?usp=sharing .I've made an app just for testing, the AppID points there, you can use it out of the box. To make Viveport crash it usually suffices to start and stop the project 2-3 times and wait for about 15 seconds.I've updated both Viveport and Unity and the issue persists.I've checked and at the time of crash Viveport was using 1GB out of 24GB of available memory, so unless it failed on trying to address another 20 at once it should not be a memory issue IMO. Link to comment Share on other sites More sharing options...
yakingkuo Posted December 10, 2018 Share Posted December 10, 2018 Hi AdamStreck: After trying your sample project on our environment, we can not reproduce the symptom on our side. If you can, please show your screen by TeamViewer or AnyDesktop for us to see the reproduce steps on your computer. If you can't, could you show more detail in reproduce steps. Btw, assume that the reproduce steps are as following: 1. Launch Viveport. 2. Launch the sample project from Unity. 3. Press "Play/Stop" button several times. Then you can see the Viveport crash. Am I right? Thanks . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now