Scripting after I added something that is causing 2 error messeges.

here are both of the error messages

  1. (are you missing a using directive or an assembly reference)
  2. No suitable method found to override.
    I was trying to get cosmetics in the game {enabling it/disabling it}
    and I was looking at the console and it gave me those errors, I have downloaded the most recent photonVR.

:hushed: SWEET MOTHERBOARD OF SILICON!!!

Something tells me you went on a copy/paste rant, and tried to glue water to stone… not just once… but many times…

I’m almost afraid to ask for code, but when you do decide to start diving into this please : Using code tags properly
paste the code into the appropriate tab(window) when editing your post.

But I just don’t see how you didn’t notice the first error… or even the first 10… ?

Ohhh, you installed a package, and it’s giving those errors, sorry…

I’m not exactly sure what’s going on, but seeing the word “Pun” come up in a lot of those errors, makes me think somethings up… Unless the maker of said thing actually has that as some sort of reference?

Either way, start with error #1, and let’s go from there. :slight_smile:

Just looks like you’re missing your Pun library, the multiplayer stuff. Go back to wherever you started this adventure from, or else start with the docs on Pun. I think you missed a step.

Remember: NOBODY here memorizes error codes. That’s not a thing. The error code is absolutely the least useful part of the error. It serves no purpose at all. Forget the error code. Put it out of your mind.

The complete error message contains everything you need to know to fix the error yourself.

The important parts of the error message are:

  • the description of the error itself (google this; you are NEVER the first one!)
  • the file it occurred in (critical!)
  • the line number and character position (the two numbers in parentheses)
  • also possibly useful is the stack trace (all the lines of text in the lower console window)

Always start with the FIRST error in the console window, as sometimes that error causes or compounds some or all of the subsequent errors. Often the error will be immediately prior to the indicated line, so make sure to check there as well.

Look in the documentation. Every API you attempt to use is probably documented somewhere. Are you using it correctly? Are you spelling it correctly?

All of that information is in the actual error message and you must pay attention to it. Learn how to identify it instantly so you don’t have to stop your progress and fiddle around with the forum.

1 Like

Did you follow the installation instructions as detailed on the github page? Because it mentions you need PUN 2 and Photon Voice 2.

https://github.com/fchb1239/PhotonVR