Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Getting Unity VR to save to CVS (preferably with button press)

Discussion in 'VR' started by KenniKure, Aug 23, 2019.

  1. KenniKure

    KenniKure

    Joined:
    Aug 7, 2019
    Posts:
    39
    I have been trying for a week now, to get Unity to save location/position data to a CSV file, but I cant get it to work. I am just focusing on getting it to write to CSV atm, and if it succeeds then implement a button push/press to store/write the data to CSV.

    Can anyone help me, and tell me where the error(s) is/are?
    My code looks like this:
    upload_2019-8-23_10-51-50.png
    I have tried a lot of things to get it to write/append X,Y and Z coordinates (Vector3) to the row/columns in the CSV file?? The numbers that should be added to the cells should be float.
    upload_2019-8-23_10-54-5.png
     

    Attached Files: