Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QPong-Unity-Version files corrupted? #65

Open
WongCKB opened this issue May 2, 2020 · 9 comments
Open

QPong-Unity-Version files corrupted? #65

WongCKB opened this issue May 2, 2020 · 9 comments

Comments

@WongCKB
Copy link

WongCKB commented May 2, 2020

hi, wonder if anyone here facing the same issue?

When opening the file package using Unity 2019.2.2f1 (64-bit), 61 errors are observed (screenshot attached).

errors

Regards,

@boland25
Copy link
Collaborator

boland25 commented May 2, 2020

it looks like your missing the newton soft plugin. @HuangJunye do we still need that?

@libby-h
Copy link

libby-h commented Aug 19, 2020

Audio files wont play
pngs wont open
Unity-Console-Errors1
Unity-Console-Errors2

@libby-h
Copy link

libby-h commented Aug 19, 2020

Same issue I think - png and wav files wont even open locally (top two images)

@HuangJunye
Copy link
Collaborator

HuangJunye commented Aug 22, 2020

I figured out the issue. Unity uses Git LFS (Large File Storage). So if you just download the zip file or git clone without git-lfs installed, the downloaded large non-text files like png only stores the differences (between the version in the repo and the version on LFS server) not the actual files.. You can follow the instructions here to install git-lfs. Remember to run git lfs install after installing git-lfs.

Once you have git-lfs installed, do git lfs clone [email protected]:HuangJunye/QPong-Unity.git. It should show Receiving LFS objects:... followed by Downloading LFS ojbects:... After that you should be good to go!

I updated the Unity version to the latest 2019.4.8f1, but I don't think the version matters at all. I also merged the Arcade branch to develop and then master. I tested. It's running perfectly as expected!

Also remember to run the python flask server when you run the game. Otherwise the paddle won't show up. Instructions are in the README file.

Please let me know if you still face any issues.

@WongCKB
Copy link
Author

WongCKB commented Aug 23, 2020

Once you have git-lfs installed, do git lfs clone [email protected]:HuangJunye/QPong-Unity.git. It should show Receiving LFS objects:... followed by Downloading LFS ojbects:... After that you should be good to go!

Sorry, do not have access rights to this repository:
[email protected]:HuangJunye/QPong-Unity.git

Error message as follows:
error-message

@HuangJunye
Copy link
Collaborator

Oh sorry, I forgot that I am using SSH to clone. You can use HTTPS method instead. Can you try this line? git lfs clone https://github.com/HuangJunye/QPong-Unity.git? Please let me know if you still face issues.

@WongCKB
Copy link
Author

WongCKB commented Aug 23, 2020

Please let me know if you still face issues.

3 Unity compiler errors as follows:
3-console-errors

@HuangJunye
Copy link
Collaborator

HuangJunye commented Aug 23, 2020

I didn't see this error myself. This could be due to missing Newtonsoft.dll in the Plugins folder. Can you double check if you have the dll file? If not follow this steps to add it: https://stackoverflow.com/questions/38084186/json-net-in-unity-throwing-the-type-or-namespace-newtonsoft-could-not-be-foun

@HuangJunye
Copy link
Collaborator

If you just clone the repo, Newtonsoft.dll should be there. See here: https://github.com/HuangJunye/QPong-Unity/tree/master/QPong-Unity-Version/Assets/Plugins/Newtonsoft.Json.12.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants