Genvid Forum

Genvid Technologies

Unable to add the extra information of Game Data for Genvid Sample App

#1

We have tried to implement a demo from our end using the GenVid package. Here is the link

What we have tried is to add a single variable in “cubeGameData.cs” file as “javaTime”.

We also modified in “Unity.ts” file to get the log of “javaTime” so that the same is displayed in console’s log of local-Web.

However, the logs are displayed when these changes are done on the Sample App where the GenVid is installed, but whenever the same files are replaced onto other project at different location the logs are not displayed. Can you please help on the steps required to create a project at any path (User should be able to decide), and then execute the project successfully, as from end developers perspective they will be using the package in their game/app and will need to do the necessary changes.

Error received when py unity.py build command is fired on CommandPrompt

[WinError 267] The directory name is invalid
File “E:\Softwares\Python35\lib\subprocess.py”, line 957, in _execute_child
startupinfo)
Command ‘[‘E:\Softwares\Python35\python.exe’, ‘E:\User\Projects\GenVid\3. 22-4-2019\Genvid Test Project 2019.1.0f2\run.py’, ‘prepare’]’ returned non-zero exit status 1
File “E:\Softwares\Python35\lib\subprocess.py”, line 398, in run
output=stdout, stderr=stderr)

Error received when py unity.py prepare command is fired on CommandPrompt

[WinError 267] The directory name is invalid
File “E:\Softwares\Python35\lib\subprocess.py”, line 957, in _execute_child
startupinfo)
Command ‘[‘E:\Softwares\Python35\python.exe’, ‘E:\User\Projects\GenVid\3. 22-4-2019\Genvid Test Project 2019.1.0f2\run.py’, ‘build’, ‘-g’, ‘app’]’ returned non-zero exit status 1
File “E:\Softwares\Python35\lib\subprocess.py”, line 398, in run
output=stdout, stderr=stderr)

#2

Hi Sanket,

Welcome to our Forum!
I have reviewed the information you have provided and will sync with my team. We will have an answer for you shortly.

Cheers,
Sophie

#3

Hi Sanket,

For the unity.py script to work, you need to use specific folder architecture like we did in the samples folder:
/app for the game project
/package for the package
/web for the website
/config for the config files
/templates for the template files

Though, you can proceed without them for the time being:

  1. The unity.py prepare only installs the Genvid Package into the sample project. If you want to install the Genvid Package into your
    project, you can simply open your project and go into Assets -> Import Package -> Custom Package… then select the Genvid Package to install in your project (located in samples\unity\package\genvid.unitypackage).

  2. The unity.py build is used to build the sample as an executable project and build the website. You can simply manually build your application from Unity like you would do normally to avoid using the python script.

  3. As for the website, if you already built it with the sample and are using the same one, no need to build it again ! We intend to move the web sample out and make it an independant project in the future, though if you have any comments on how to make the experience more User friendly, we will do our best to improve this process !

Thank you,
Charles-Auguste Brodeur-Tanguay

#4

Hi Charles,

Thanks for the update, after following the same folder structure as in the sample, we were able to successfully get the build running.