Fernandez Posted April 10, 2019 Share Posted April 10, 2019 Hello, I would like to work on the development of GTA-V servers on the C# Bridge. So I have created my first resource, but I get an error in the server log when I want to start it. -> Starting firstresource resource.. firstresource: loading scripts.. found 1 script(s) -> Error starting 'firstresource' System.NullReferenceException: Object reference not set to an instance of an object. at bool GTANetworkInternals.GameServer.StartResource(string resourceName, string parent) My Code using System; using GTANetworkAPI; namespace firstresource { public class Main : Script { public Main() { Console.WriteLine("Dieser Test war erfolgreich"); } } } Anyone can help me? Link to comment Share on other sites More sharing options...
introzen Posted April 17, 2019 Share Posted April 17, 2019 (edited) Please show us your meta.xml and settings.xml. I'd be more than surprised if changing the code into the previous reply solves your issue. Edited April 17, 2019 by introzen Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now