Giter Site home page Giter Site logo

No fish spawning and this in server console: [Nitrox] W: Couldn't load serializable attribute for Peeper version about nitrox HOT 19 CLOSED

subnauticanitrox avatar subnauticanitrox commented on May 10, 2024
No fish spawning and this in server console: [Nitrox] W: Couldn't load serializable attribute for Peeper version

from nitrox.

Comments (19)

werichff avatar werichff commented on May 10, 2024 3

if you want fishes go to nitroxserver/Serialization/BatchCellsParser.cs and change path on line 84 to your subnautica location
image

from nitrox.

Staudey avatar Staudey commented on May 10, 2024

from nitrox.

TheDutchDev avatar TheDutchDev commented on May 10, 2024

@Staudey Yeah tried that already, didn't work :/

I did however find an incorrect path in the ParseFile function inside BatchCellsParser.cs which I changed to the correct subnautica folder after which the server startup seemed to take much longer and everything works, except that there's a huge overspawn of fish/items and floating limestone rocks aswell

from nitrox.

Alberto247 avatar Alberto247 commented on May 10, 2024

That't happening to me too @sampniels. I already opened an issue.
I also tried decreasing the spawn chance in the file but it doesn't seem to have any effect. I'm still trying to solve the issue.
@Sunrunner37 can you tell us where you got the files in the "raw" directory from? That would help. Thank you.

from nitrox.

nesrak1 avatar nesrak1 commented on May 10, 2024

Those files came from the assets files. There was a branch here to grab data from the files, however it is outdated and not up to date with this one.

from nitrox.

Flash1232 avatar Flash1232 commented on May 10, 2024

No fish for me aswell.

I tried executing Unit Tests, a couple of which didn't pass.
And there's that one aswell:

[Nitrox] W: Couldn't load serializable attribute for Peeper version

I get the following exception in output_log.txt:

AmbiguousMatchException: Ambiguous matching in method resolution
at System.Reflection.Binder.FindMostDerivedMatch (System.Reflection.MethodBase[]) <IL 0x0002f, 0x001f5>
at System.MonoType.GetMethodImpl (string,System.Reflection.BindingFlags,System.Reflection.Binder,System.Reflection.CallingConventions,System.Type[],System.Reflection.ParameterModifier[]) <IL 0x000fa, 0x006dd>
at System.Type.GetMethod (string,System.Reflection.BindingFlags) <IL 0x00018, 0x000fc>
at NitroxModel.Helper.ReflectionHelper.GetMethod (System.Type,string,bool,bool,System.Type[]) <IL 0x00094, 0x006df>
at NitroxModel.Helper.ReflectionHelper.ReflectionCall<uGUI_OptionsPanel> (uGUI_OptionsPanel,string,bool,bool,object[]) <0x001b9>
at NitroxPatcher.Patches.uGUI_OptionsPanel_AddBindings_Patch.Postfix (uGUI_OptionsPanel,int,GameInput/Device) <IL 0x00064, 0x00529>
at (wrapper dynamic-method) uGUI_OptionsPanel.AddBindings_Patch1 (object,int,GameInput/Device) <IL 0x00152, 0x00693>
at uGUI_OptionsPanel.AddKeyboardTab () <IL 0x0005d, 0x002b9>
at uGUI_OptionsPanel.AddTabs () <IL 0x00017, 0x000e7>
at uGUI_OptionsPanel.OnEnable () <IL 0x00028, 0x0016b>

UnityEngine.GameObject:SetActive(Boolean)
IngameMenu:ChangeSubscreen(String)
UnityEngine.Events.InvokableCall1:Invoke(Object[]) (at C:\Subnautica\plastic_workspace_unity\Runtime\Export\UnityEvent.cs:189) UnityEngine.Events.CachedInvokableCall1:Invoke(Object[]) (at C:\Subnautica\plastic_workspace_unity\Runtime\Export\UnityEvent.cs:309)
UnityEngine.Events.InvokableCallList:Invoke(Object[]) (at C:\Subnautica\plastic_workspace_unity\Runtime\Export\UnityEvent.cs:637)
UnityEngine.Events.UnityEventBase:Invoke(Object[]) (at C:\Subnautica\plastic_workspace_unity\Runtime\Export\UnityEvent.cs:773)
UnityEngine.Events.UnityEvent:Invoke() (at C:\Subnautica\plastic_workspace_unity\Runtime\Export\UnityEvent_0.cs:52)
UnityEngine.UI.Button:Press()
UnityEngine.UI.Button:OnPointerClick(PointerEventData)
UnityEngine.EventSystems.ExecuteEvents:Execute(IPointerClickHandler, BaseEventData)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
FPSInputModule:ProcessMousePress(MouseButtonEventData)
FPSInputModule:ProcessMouseEvent()
FPSInputModule:OnUpdate()
ManagedUpdate:Execute(Queue)
ManagedUpdate:LateUpdate()

(Filename: Line: -1)

from nitrox.

Flash1232 avatar Flash1232 commented on May 10, 2024

Hi @werichff
Thanks for the reminder! I just read @sampniels' post above and fixed it that way.
Great work on the Multiplayer Mod so far btw! I'll take a closer look at your Trello board shortly!

Cheers,
Flash1232

from nitrox.

ioncodes avatar ioncodes commented on May 10, 2024

#94

from nitrox.

hsiayuchih avatar hsiayuchih commented on May 10, 2024

Have you already solved?

from nitrox.

hsiayuchih avatar hsiayuchih commented on May 10, 2024

@ioncodes Hello, may I ask how to solve this problem? The website you quoted I read, but did not understand ...

from nitrox.

ioncodes avatar ioncodes commented on May 10, 2024

See @werichff's comment. You have to change that string there.

from nitrox.

hsiayuchih avatar hsiayuchih commented on May 10, 2024

@ioncodes I tried his method, but it does not work...

from nitrox.

ioncodes avatar ioncodes commented on May 10, 2024

@hsiayuchih, Are you sure u change it to the absolute Build18 path? It won‘t work with a relative path.

from nitrox.

hsiayuchih avatar hsiayuchih commented on May 10, 2024

@ioncodes Is the path not like this?
string path = @"G:\game\Subnautica\SNUnmanagedData\Build18";
This is how I set the path, but after the game still no creatures...

from nitrox.

ioncodes avatar ioncodes commented on May 10, 2024

@hsiayuchih If that‘s a valid path, yes. Are you sure you recompiled everything?

from nitrox.

hsiayuchih avatar hsiayuchih commented on May 10, 2024

@ioncodes In fact, this is my friend to help compile, I will not programming ...
So I do not quite understand what you mean recompile ...

from nitrox.

Sunrunner37 avatar Sunrunner37 commented on May 10, 2024

Path is no longer hard coded as of a new commit. Resolving.

from nitrox.

JohnCesario avatar JohnCesario commented on May 10, 2024

I have a similar problem, however it just happens to a friend trying to connect to my server. I can see all fish and interact with anything, nothing is missing on my end, however, when he tries to connect, the can't see any fish, no stones, no fauna or flora, everything is barren. I tried the solutions suggested above, but when I tried compiling the server, I get lots of errors.
Is this problem on my server or is it on his installation?

OBS: I'm using Subnautica on Steam while he is using it on Epic Games Launcher. I helped him install it and made sure that all paths were leading to the correct installation instead of Steam.

EDIT: I made a separate installation from Epic Games and used a new Nitrox folder (I backed up the steam one), I proceeded to install the Nitrox server and I got it up and running on my machine. I did the same to my friend's installation and again, when he connected to me, he couldn't see any creature, in fact, he couldn't even see me this time. I followed this youtube guide: https://www.youtube.com/watch?v=bzF9C4gR9C0

from nitrox.

Yanzzzx avatar Yanzzzx commented on May 10, 2024

Try launching a single player game and then joining the server via the console. Worked in our case.

how to do that? open the server via single player in console

from nitrox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.