Brackeys / MultiplayerFPS-Tutorial

A video series on making a multiplayer first-person shooter in Unity.
The Unlicense
657 stars 287 forks source link

Compile Errors for Database #16

Open Hermes02 opened 6 years ago

Hermes02 commented 6 years ago

I'm having this errors any guesses to what I have to do? screen shot 2018-01-08 at 6 09 50 pm

cesarchamorro commented 6 years ago

I guess this issue it's because you don't have the DatabaseControl.dll , this one is contained in Database Control --- Scripts, check this out, if you don't have it that's the problem, but you just need to download it from the repository.

Let me know if this helped you to fix the error.

ghost commented 6 years ago

Hello! I have these exact same problems... but I have the DatabaseControl.dll. every time I open that file I just see random jibberish. I'm so confused by this matter! if you can help that would be great!

cesarchamorro commented 6 years ago

Hey man, well i have to tell that all files with extension ".dll" can't be open to edit like documents. So you have to make sure that DatabaseControl.dll is in the location that I said before, to be more specific this is where the file has to be located: "MultiplayerFPS/Assets/DatabaseControl/Scripts/".

Let me know if this helped you to fix the error.

7ekhed commented 6 years ago

The DLL is located in this location, but it still is giving me these errors

7ekhed commented 6 years ago

BRACKEYS UR THING IS BROKEN SERIOUSLY BAD NOTHING WORKS

cesarchamorro commented 6 years ago

Hey man, I'm so sorry you're having this issue, but let's try to fix it. So You said the DLL is the the right location, so what i can imagine is that you're not using the version of unity which this project was made with, so you're having this issue because of an incompatibility, if you go to "MultiplayerFPS/Assets/DatabaseControl/Scripts/" then select databasecontrol, the inspector is going to show you something like this. capture.

So, now you can say: how in the hell do i fix it?. Well, first of all, make a backup of the scripts that you use from databasecontrol, now, you should download the database control from asset store and this will give you the last version compatible with your unity version. Once you have it restore the scripts that you need to use, but now is going to tell you: The name "`DC' does not exist in the current context", what you need to do is change DC to DCF and now you will have to go in unity, go to menu Windows and then in the list showed click on database control free and create and empty one, once you have it you can click on play and then you will have to register your account and then login. Hopefully is going to fix your issue.

Other way to fix it is getting the version of unity that brackeys was using to buid the game.

Let me know if this fixed your issue.