Code Monkey home page Code Monkey logo

Comments (5)

mofirouz avatar mofirouz commented on May 28, 2024

Hey @prodigga - The only issue with this is we have conditional compilation statements in the codebase which get ignored if we precompile the DLL. For instance, we have an entirely different transport system for WebGL, or various tricks to support SSL in Android that won't work if we precompile a DLL.

What's your usecase for a precompiled DLL, and why is UnityPackage source problematic for you?

from nakama-unity.

prodigga avatar prodigga commented on May 28, 2024

Ah, I see, I hadn't considered that. Though Unity does allow you to specify which platform a specific DLL should be included for. So you could just package one DLL per platform and mark them appropriately in the inspector?

As for the 'why' - mainly Unity does not have to keep recompiling the dozens of source files whenever we make a change to a plugin script! :) Also, not as important but still worth mentioning, it is a little annoying having dozens of Nakama classes, methods and variables appearing in the search results. ie Just a random example, searching for the work 'join' (I have a class called MatchJoinState), I see this:

image

from nakama-unity.

arlenner avatar arlenner commented on May 28, 2024

I also would like to see that feature, as I compile all of my dll files outside of unity, i don't rely on unity's auto compiling. I do this so i can use the latest c# features and compile down to unity compatible version. Not having a dll means basically i have to find a way to compile all of the script files into a dll to reference it inside my vs solution.

from nakama-unity.

novabyte avatar novabyte commented on May 28, 2024

@arlenner Thanks for the feedback. I was actually doing some work a few days ago to improve the build system and provide both source packages and DLL releases. I'll speak with the team to bring the changes forward in our sprint.

from nakama-unity.

novabyte avatar novabyte commented on May 28, 2024

The way we package the Unity client has changed since the Nakama 2 release. I think it now covers what you'd like. Please re-open if we should discuss further.

from nakama-unity.

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.