This is the tutorial I was following.
I followed the exact steps in the tutorial and still got these 4 errors
Assets\Scripts\ServerMenu.cs(22,45): error CS0246: The type or namespace name ‘Map<,>’ could not be found (are you missing a using directive or an assembly reference?)
Assets\Scripts\ServerMenu.cs(22,49): error CS0246: The type or namespace name ‘Guid’ could not be found (are you missing a using directive or an assembly reference?)
Assets\Scripts\ServerMenu.cs(22,55): error CS0246: The type or namespace name ‘UdpSession’ could not be found (are you missing a using directive or an assembly reference?)
Assets\Scripts\ServerMenu.cs(22,26): error CS0115: ‘ServerMenu.SessionListUpdated(Map<Guid, UdpSession>)’: no suitable method found to override
On line 22 it just says this:
public override void SessionListUpdated(Map<Guid, UdpSession> sessionList)
I’m using Photon BOLT to get multiplayer
Hello!
Make sure you are importing all necessary namespaces to make your script to work properly.
For your case, you should be missing the UdpKit
namespace;
Your import list should be similar to this one:
using System;
using System.Collections;
using System.Collections.Generic;
using UdpKit;
using UnityEngine;