QPong-Unity icon indicating copy to clipboard operation
QPong-Unity copied to clipboard

QPong-Unity-Version files corrupted?

Open WongCKB opened this issue 5 years ago • 9 comments

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,

WongCKB avatar May 02 '20 05:05 WongCKB

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

boland25 avatar May 02 '20 14:05 boland25

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

libby-h avatar Aug 19 '20 17:08 libby-h

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

libby-h avatar Aug 19 '20 17:08 libby-h

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.

HuangJunye avatar Aug 22 '20 17:08 HuangJunye

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

WongCKB avatar Aug 23 '20 03:08 WongCKB

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.

HuangJunye avatar Aug 23 '20 04:08 HuangJunye

Please let me know if you still face issues.

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

WongCKB avatar Aug 23 '20 06:08 WongCKB

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 avatar Aug 23 '20 14:08 HuangJunye

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

HuangJunye avatar Aug 23 '20 14:08 HuangJunye