Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by StormMuller · Jul 13, 2016 at 07:03 PM · networkingmeshmaterialsnamespaceunityengine.object

Can I use the UnityEngine namespace in a personal Application?

I just want to know if this is legal?

The reason I'm asking is. I am making a virtual Shop using unity. I will be using Unity to make the client but I am make a windows form server using .net sockets. So There will be a database containing all the meshes and materials of the various items in the shop. So I want to know if I can use the UnityEngine namespace in my server application to use the mesh and material classes for serialization purposes?

I'm also open to suggestions on how to do this in other ways. But I do need a windows form server, I can't use Unity Networking.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Bunny83 · Jul 13, 2016 at 09:44 PM

That's not possible as well as not allowed. First of all the UnityEngine.dll is just a .NET wrapper for the Unity engine core. The engine core is written mainly in C++ and is part of the Unity player. The standalone player is mainly the "exe" that is exported when you build your Unity application.

All "assets" that Unity provides may only be used inside a Unity application. Most things are explained in the terms of service. You could theoretically build a seperate Unity application that is used on the server, but it's possible that you require an additional license for that due to streaming restrictions.

Apart from that i doubt that any UnityEngine tools would help you much when creating mesh and material data since those can't really be serialized at runtime. For this you would need the Unity Editor. The Unity editor has seperate license conditions if you plan to use it as a background service on your server.

NOTE: This is just a general advice based on common knowledge and experience. If you want to make sure you're not breaking the license conditions, you should contact the Unity support and ask if the actions you plan are allowed or if they require an extra license.

If you plan to contact the support, make sure you already know what you want to do / what you want to use and in which way so you can get a clear answer. Avoid asking too general or too vague questions (like this one).

Just to make that clear again: UnityAnswers is a mainly community run resource of information and may not be used as source to answer legal questions.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image StormMuller · Jul 15, 2016 at 09:23 PM 0
Share

Yea I though as much, I was having serialization problems when using the dll but I won't use it. I made a separate class called mesh data that holds the vertices, norms, uv1, uv2 and triangles and I managed to serialize that and send it via the connection. Just using the values to recreate the meshes on the client side. Was just curious if it was possible to use the unity engine namespace in a personal application, but I kind of knew it wasn't my best idea. Thanks a million.

avatar image
0

Answer by NickWu · Jul 13, 2016 at 09:26 PM

If you are using Visual Studio, you can go to solution explorer right click reference and choose add reference.

From there browse and find UnityEngine.dll

And then you should be able to use UnityEngine namespace.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Updating UV in imported mesh without having to re-material 0 Answers

Sending Level Data over Network 1 Answer

How does assigning materials to MeshRenderer.sharedMaterials work? 1 Answer

[Solved] Applying multiple materials to a generated mesh object 1 Answer

How to modify enemy players meshs with Photon Unity Networking? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges