Coder Social home page Coder Social logo

Comments (16)

CliffBramlett avatar CliffBramlett commented on May 28, 2024

Note: I read about people taking a break, but I'd like to start working on this project if it isn't going to be dropped completely, hence this bug report.

from openmmo.

DX4D avatar DX4D commented on May 28, 2024

Need a few more details:
What version is this (Asset Store/Git Repo (dev or release?))

Give this version a try instead:
https://github.com/wovencode/OpenMMO/raw/develop/_STABLE%20RELEASE/OpenMMO_FRAMEWORK%2BEXAMPLE.zip

from openmmo.

CliffBramlett avatar CliffBramlett commented on May 28, 2024

Unity ver 2019.4.23f1 (LTS), and used GitHub to get the OpenMMO download. Will try that version tomorrow, asap (likely 12-18 hrs from this post)

from openmmo.

CliffBramlett avatar CliffBramlett commented on May 28, 2024

So much for my timeframe. Life happened. Anyway, I extracted both files to a folder and tried to open them in Unity, but Unity doesn't recognize them as projects. Going to try importing next.

from openmmo.

CliffBramlett avatar CliffBramlett commented on May 28, 2024

Got several warnings with the Framework import

***** One of this unable to parse *****
Unable to parse file Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Runtime/Transport/Telepathy/Telepathy.dll.meta: [Parser Failure at line 30: Expect ':' between key and value within mapping]

***** 6 of the following error types *****
Mirror.Weaver warning: OpenMMO.GameItem has no public or non-static fields to deserialize
UnityEngine.Debug:LogWarning (object)
Mirror.Weaver.CompilationFinishedHook:HandleWarning (string) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/CompilationFinishedHook.cs:38)
Mirror.Weaver.Log:Warning (string) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/Program.cs:14)
Mirror.Weaver.Readers:GenerateClassOrStructReadFunction (Mono.CecilX.TypeReference,int) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/Readers.cs:386)
Mirror.Weaver.Readers:GetReadFunc (Mono.CecilX.TypeReference,int) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/Readers.cs:81)
Mirror.Weaver.SyncObjectProcessor:GenerateDeserialization (string,Mono.CecilX.TypeDefinition,Mono.CecilX.TypeReference) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/Processors/SyncObjectProcessor.cs:105)
Mirror.Weaver.SyncObjectProcessor:GenerateSerialization (Mono.CecilX.TypeDefinition,int,string,string) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/Processors/SyncObjectProcessor.cs:34)
Mirror.Weaver.SyncListProcessor:Process (Mono.CecilX.TypeDefinition) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/Processors/SyncListProcessor.cs:14)
Mirror.Weaver.Weaver:CheckSyncList (Mono.CecilX.TypeDefinition) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/Weaver.cs:424)
Mirror.Weaver.Weaver:Weave (string,System.Collections.Generic.IEnumerable1<string>,string,string,string) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/Weaver.cs:502) Mirror.Weaver.Weaver:WeaveAssemblies (System.Collections.Generic.IEnumerable1,System.Collections.Generic.IEnumerable1<string>,string,string,string) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/Weaver.cs:575) Mirror.Weaver.Program:Process (string,string,string,string[],string[],System.Action1,System.Action`1) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/Program.cs:33)
Mirror.Weaver.CompilationFinishedHook:OnCompilationFinished (string,UnityEditor.Compilation.CompilerMessage[]) (at Assets/Plugins/OpenMMO/Plugins/Extras [3rd Party]/Mirror/Editor/Weaver/CompilationFinishedHook.cs:161)
UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:TickCompilationPipeline (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget)

****** 1 each of the following *****
File 'Test Model@Walk' has rig import warnings. See Import Messages in Rig Import Tab for more details.

File 'Test Model@Walk' has animation import warnings. See Import Messages in Animation Import Settings for more details.

File 'Test Model@Idle' has rig import warnings. See Import Messages in Rig Import Tab for more details.

File 'Test Model@Idle' has animation import warnings. See Import Messages in Animation Import Settings for more details.

***** Attempting a build (Win64) results in:
NullReferenceException: Object reference not set to an instance of an object
OpenMMO.ChangeBuildMenu.SetBuildType (OpenMMO.Network.NetworkType buildType, System.Boolean headless) (at Assets/Plugins/OpenMMO/Plugins/Addons/EditorSystems/QuickBuildMenus/ChangeBuildMenu.cs:24)
OpenMMO.QuickBuildMenu.Build (UnityEditor.BuildTarget targetPlatform, OpenMMO.Network.NetworkType buildType, System.Boolean headless) (at Assets/Plugins/OpenMMO/Plugins/Addons/EditorSystems/QuickBuildMenus/QuickBuildMenu.cs:58)
OpenMMO.QuickBuildMenu.BuildHeadlessServer (UnityEditor.BuildTarget targetPlatform) (at Assets/Plugins/OpenMMO/Plugins/Addons/EditorSystems/QuickBuildMenus/QuickBuildMenu.cs:170)
OpenMMO.QuickBuildMenu.BuildClientAndHeadlessServer (UnityEditor.BuildTarget targetPlatform) (at Assets/Plugins/OpenMMO/Plugins/Addons/EditorSystems/QuickBuildMenus/QuickBuildMenu.cs:163)
OpenMMO.QuickBuildMenu.BuildWindows64ClientAndHeadlessServer () (at Assets/Plugins/OpenMMO/Plugins/Addons/EditorSystems/QuickBuildMenus/QuickBuildMenu.cs:218)

from openmmo.

CliffBramlett avatar CliffBramlett commented on May 28, 2024

Doing the same import for the example results in 6 duplicate errors:


Identifier uniqueness violation: 'Name:Missing Prefab (Dummy), Type:GameObject'. Multiple Objects with the same name/type are generated by this Importer. There is no guarantee that subsequent imports of this asset will properly re-link to these targets.

from openmmo.

DX4D avatar DX4D commented on May 28, 2024

from openmmo.

DX4D avatar DX4D commented on May 28, 2024

from openmmo.

CliffBramlett avatar CliffBramlett commented on May 28, 2024

Unity ver 2019.4.23f1 (LTS), see a few posts above :)
So I should use the latest version of Mirror? I thought it was included in this package. That would explain a lot if not, but it would be weird that the first one started at all if it isn't.

from openmmo.

DX4D avatar DX4D commented on May 28, 2024

It should be working as-is with the mirror version included in the download. I did run into this same issue with an older version and had to rebuild the scenes from scratch to fix the lighting. Issue is in the scene itself somewhere, not mirror or openmmo afaik. I've still got this injury and can't really use the mouse to rebuild the scenes, but that's where I'd start if this thing ever heals. Let me know if you try it and I'm happy to help however I can manage while typing lefty on my phone 😂

from openmmo.

DX4D avatar DX4D commented on May 28, 2024

Also, openmmo is not designed to run in the editor, you need to do a full build and run the server to test it properly. Looks like you had it running that way, just wanted to mention it just in case 👍

from openmmo.

DX4D avatar DX4D commented on May 28, 2024

Just noticed this in your original log files, you will need to add the scenes in your build settings for them to load properly. Should be details in the quickstart on how to do that.

"Scene 'Login Sub Scene 1' couldn't be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.
To add a scene to the build settings use the menu File->Build Settings...
(Filename: Line: 170)"

from openmmo.

CliffBramlett avatar CliffBramlett commented on May 28, 2024

Wow, can't believe I forgot the build settings! Will try that soon.

from openmmo.

CliffBramlett avatar CliffBramlett commented on May 28, 2024

So I tried the above without success. I also tried dragging in the missing Login Sub Scene 1 from your files into the project that was actually building from this git repository, but that didn't help either. I tried to troubleshoot the problem in graphics, and I think it might be an issue with a missing rendering pipeline, but couldn't get it to work. I'm guessing the Unity version difference could also be causing problems. After looking into Mirror a bit more it appears that is where one of the devs here moved to. So I'm going to compare that and see if it serves what uMMORPG was supposed to do.

from openmmo.

Tumeski avatar Tumeski commented on May 28, 2024

So I tried the above without success. I also tried dragging in the missing Login Sub Scene 1 from your files into the project that was actually building from this git repository, but that didn't help either. I tried to troubleshoot the problem in graphics, and I think it might be an issue with a missing rendering pipeline, but couldn't get it to work. I'm guessing the Unity version difference could also be causing problems. After looking into Mirror a bit more it appears that is where one of the devs here moved to. So I'm going to compare that and see if it serves what uMMORPG was supposed to do.

Im learning some basics here too and learning a lot from this project. I noticed that they have changed the way they deal with login scene and this "Login Sub Scene 1" is depricated info, for some reason it has been "cached" for "Default Login Scene" itself. I simply went to "Default Login Scene" -> Under "Light etc." in Hierarchy you found "AreaPortal". From there Area Portal script uses Sub Scene value. Set it so some scene and then back to none, rebuild and the warning is gone and compiler not trying to find "Login Sub Scene 1" anymore.

from openmmo.

DX4D avatar DX4D commented on May 28, 2024

Great catch @Tumeski

I've gone in and removed all those pesky sub-scene links and pushed a fix for all the lighting issues to the "develop" branch on the git repo. The latest version there works with Unity 2020.3 and is updated to Mirror v42 give that a try and see if it has solved the issues you were having before @CliffBramlett

Closing this issue for now, please reopen or create a new one is the issue still exists with the latest develop branch updates.

So I tried the above without success. I also tried dragging in the missing Login Sub Scene 1 from your files into the project that was actually building from this git repository, but that didn't help either. I tried to troubleshoot the problem in graphics, and I think it might be an issue with a missing rendering pipeline, but couldn't get it to work. I'm guessing the Unity version difference could also be causing problems. After looking into Mirror a bit more it appears that is where one of the devs here moved to. So I'm going to compare that and see if it serves what uMMORPG was supposed to do.

Im learning some basics here too and learning a lot from this project. I noticed that they have changed the way they deal with login scene and this "Login Sub Scene 1" is depricated info, for some reason it has been "cached" for "Default Login Scene" itself. I simply went to "Default Login Scene" -> Under "Light etc." in Hierarchy you found "AreaPortal". From there Area Portal script uses Sub Scene value. Set it so some scene and then back to none, rebuild and the warning is gone and compiler not trying to find "Login Sub Scene 1" anymore.

from openmmo.

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.