Quantcast
Channel: Questions in topic: "assemblies"
Browsing all 145 articles
Browse latest View live
↧

Best way to preserve a class from Code Stripping

What is the best way to preserve a class from code stripping if i still want the process to run over the rest of an assembly. I have tried putting the preserve attribute at the top of a class as well...

View Article


IL2CPP mod support

I have some very basic mod support that loads DLLs from a specific folder as Assemblies and inspects it's types. If it finds an "IMod", it calls it's respective Awake() method. I will spare you the...

View Article


missing assembly references on new project?

Hi, I get this error 24 times in a almost new unity project (in the editor):...

View Article

How to keep .asmdef references when exporting a ".dll"?

I divided my project with different **.asmdef** in order to have different .dll. ---------- Now I want to import one of the dll (*Eg.* MyDll) created with **.asmdef** (copied from...

View Article

Error: "Copying assembly from 'Temp/UnityEngine.TestRunner.dll' to...

I have found other posts with this (or similar) issue, but none have had solutions that worked for me. Whenever opening a project in Unity 2020.1.3f1 (including brand new projects), I get the following...

View Article


Assembly-Csharp.Player ?

Hi developers, I have an anoying duplicate assembly with ".Player" ending for each assembly in my project. For example, in the project hierarchy(Visual Stuido/VSCode) you could see: >...

View Article

Compilers doesn't recognize Unity.UI references

Hi, I have since yesterday a really troubling mistake with compilers (VS and VS code) : they does'nt recognize references like UnityEngine.UI, EventSystems and TMPro. (CS0234 and CS0236) I have the...

View Article

accessing a class by interface requries reference to other unrelated...

Hey, been having some weirdness in my code, I think I get where the problem is but I wanted some clarification. I have 2 separate classes and 2 interfaces in a few different assemblies....

View Article


My projects can't find each other in Visual Studio

I'm currently using version 20.20.2.2f1 and the newest version of Visual Studio Community 2019 (16.8.4) In my project I'm using SimpleInput found in Asset Store. This has worked fine until yesterday...

View Article


Script won't update after first successful weaving with Mono.Cecil

I'm using Mono.Cecil to modify assemblies post compilation (I'm using [this][1] implementation of Mono.Cecil within Unity). For some reason, if I add a field to a type in an assembly, and the type of...

View Article

Compiling takes incrementally longer each time

Hi all, I'm in Unity 2020.2.1f1 Our team has noticed that each time the code recompiles: unity takes longer and longer to come out of it. The only thing we're able to do to alleviate it is to exit, and...

View Article

Type or namespace not found for Asset Store packages on Linux

System: Ubuntu 20.04 When cloning my project and opening it on a Linux PC, I get type or namespace not found error. This does not happen on Windows. The specific assets where that happens are SteamVR,...

View Article

Is it possible to include AOT compiled Unity Jobs in libraries?

Hello, For complicated reasons, we are building .unitypackages with the pre-compiled DLLs for some of our components (making use of post-build events to replace code with the compiled DLL containing...

View Article


Using a newer version of a library included in .net?

Hello, I'm trying to use the latest version of https://www.nuget.org/packages/System.Net.WebSockets.Client/ in my unity project built for .NET 4.x. To do so I am copying the DLL out of the package for...

View Article

Assebly definition dependent on asset store package without assembly definition

I'm planning to make a unity package which is dependent on an asset store package. This means i will need an assembly definition for my package which is dependent on the asset store package....

View Article


Fixing "The type or namespace name 'NUnit' could not be found" in 2020.3.17f1

Hello everyone, I just did a totally fresh install of Unity (and Unity Hub) on a totally new PC, but for every new project I try to create in 2020.3.17f1 gives me about 450 errors. All of the errors...

View Article

Editor script can't find a class outside of Editor folder

Hello all, So first off, I'm using the [GTF preview][1] package to create a dialogue sequence editor. I've done this in the old Graph View API, but the GTF offers so much more in the quality of life...

View Article


Create and reference assembly (.asmdef) files at editor-time

Hello, I'd like to import the *Universal Render Pipeline* package at runtime, then create a *UniversalRenderPipelineAsset.asset* file and assign it to the *Graphics Settings*. **What I'm trying to...

View Article

reload script assemblies is VERY Slow.

It takes around 2 Minutes to load all changes from code. one time it got stuck and went full 8 minutes... Why is this taking so long? My pc is clean comparing to other developers I saw, I got 8 GB Ram...

View Article

Can I make my own Metafiles and script assembly?

Hi everyone! Im building a pipeline that creates scripts for gameobjects I place inside a unity scene. At the current stage of the pipeline, Im able to create the a scene with gameobjects that have a...

View Article
Browsing all 145 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>