MolecularRiftv2
MolecularRiftv2 copied to clipboard
i have just downloaded the files (and unity 5.4.1f) but when i try to run the 'MolecularRift2VR-CV1' i get an error
The error i get is 'failed to initiaize player', not sure how to fix the issue initialy i though it was a unity problem so i downloaded unity of there site and still the issue occurs any suggestions?
Plz check the FAQ
I have the exact same issue. I'm using the file versions you suggested in the FAQ, with Unity 5.3.6f1 and nothing works. My OS is Windows 7 Ultimate 64 bit. Every time I got a Fatal Error "failed to initialize player".
Hey @rubbs14. Can you confirm that you have Git-LFS? You need Win8 or 10 (x64)
Hi Roberto, Have you tried to download the source code using a tool like Github Desktop (https://desktop.github.com/)? Best, Bill
Hi all, thanks for the quick reply. Tomorrow I will try to use GitHub Desktop to download again the master files on my Win7 workstation and I will let you know. Now I'm trying to run the whole thing on my Win10 laptop (Radeon M230, not properly a good one, but let's see!) to eventually troubleshoot an OS issue. I'll keep you updated. Best, Roberto
Cool, it should work with GitHub Desktop. Let me know if the problems remains.
Ok, just a quick update. I downloaded the package using GitHub Desktop and now I can launch the program and it is working (Windows7 64bit). The problem now is that when I try to load the PDBs nothing happens. I have reinstalled OpenBabel 2.4.0 two times now and nothing changed, it keeps saying "Unsupported" whatever PDB I load.
Do you know what could it be the problem?
Best, Roberto
Good! I suspect it's a privilege setting. Please check if you have the right permissions (have you installed OpenBabel under the account you're using for Molecular Rift)? This should work, if not please check the logfile: PROJECT_ROOT/MolecularRift_data/output_log.txt
Hi, I've checked what you suggested and yes, everything was installed and run with the same account credentials. There's something weird with OpenBabel definitely, here's the output_log file:
Fallback handler could not load library C:/Users/roberto/Desktop/Molecular Rift/MolecularRiftv2/CV1/MolecularRift2VR-CV1_Data/Mono/openbabel_csharp
Fallback handler could not load library C:/Users/roberto/Desktop/Molecular Rift/MolecularRiftv2/CV1/MolecularRift2VR-CV1_Data/Mono/.\openbabel_csharp
Fallback handler could not load library C:/Users/roberto/Desktop/Molecular Rift/MolecularRiftv2/CV1/MolecularRift2VR-CV1_Data/Mono/openbabel_csharp
Fallback handler could not load library C:/Users/roberto/Desktop/Molecular Rift/MolecularRiftv2/CV1/MolecularRift2VR-CV1_Data/Mono/libopenbabel_csharp
EDIT: I have some more information about the error.
When I try to open the VS project (MolecularRift2.cs) and attach it to Unity there are several build errors concerning the AddAtoms.cs module. There is something that is related to the current .NET framework version. This is the error output from my VS2015 instance:
1>------ Build started: Project: MolecularRift2.CSharp, Configuration: Debug Any CPU ------
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3258: The primary reference "OBDotNet" could not be resolved because it has an indirect dependency on the .NET Framework assembly "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework.
1>C:\Users\roberto\Desktop\Molecular Rift\MolecularRiftv2\CV1\Assets\Scripts\AddAtoms.cs(8,7,8,16): error CS0246: The type or namespace name 'OpenBabel' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\roberto\Desktop\Molecular Rift\MolecularRiftv2\CV1\Assets\Scripts\AddAtoms.cs(764,52,764,58): error CS0246: The type or namespace name 'OBBond' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\roberto\Desktop\Molecular Rift\MolecularRiftv2\CV1\Assets\Scripts\AddAtoms.cs(60,10,60,15): error CS0246: The type or namespace name 'OBMol' could not be found (are you missing a using directive or an assembly reference?)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Same here!
I had a similar issue caused by the OpenBabel C# bindings being compiled for x86, which doesn't work with Unity 64-bit. I ended up compiling my own 64-bit C# bindings from source ->
https://github.com/UoA-eResearch/MolecularVive/tree/master/Assets/Plugins
You could either build your project with Unity 32-bit, or download my 64-bit dlls