Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.6f1
Issue ID
1052839
Regression
No
Dynamically generated assemblies created with C#'s native AssemblyBuilder class cause project to break
How to reproduce:
1. Open the attached user project and reimport the "unityImportTest.cdb" asset
2. Tab out/in so the DLL (CastleDBTypesAssembly) is added to the Assets folder
3. In the Hierarchy click on the "testGameObject" and then in the Inspector Window click "Test" - observe the Console
4. Comment out the Debug line in the "CDBTest.cs: script.and then uncomment lines 17-19
5. Go back to Unity, click on the "testGameObject", click "Test", and observe the proper Debug "testing" message is still printed.
6. Make a new Monobehaviour script in the project with Create > C# Script and try to attach it to any object in the Hierarchy
Expected result: the commented out debug message no longer appears, adding new scripts works as intended
Actual result: the commented out debug message still appears in the console, adding new scripts to game objects fails
Reproduced in: 2018.2.1f1, 2018.1.9f1
Couldn't test with: 2018.3.0a5, 2017.4.6f1, 2017.2.3p2, 2017.1.5f1
Comments (3)
-
MAK_Tech
Nov 04, 2019 13:15
I am new in C# and in future I want to move on ASP.Net MVC because on back-end we use C# I will definitely care about assemblies. http://khaleejmag.com/women/top-10-most-googled-people-in-the-world/ a topic that has changes all minds and start a new race of familiarity.
-
MAK_Tech
Oct 26, 2019 12:11
In programming world C# have a big name and its functionalities are so good. Information you share is very helpful for programmers. I am here to share about https://khaleejmag.com/education/chinese-professors-list-finance-department-master-phd/
Here is Chinese Pforfessor List for Ph.D Scholarship which can help to every neddy student in finding scholarship. -
dofimiz
Oct 12, 2019 09:25
Issue tracker is the forum which is provide the information of the whole tracking system of the world in the single click with the use of the internet https://www.topratedessayservice.com/paperhelp-org-review/ as well as this is the best system to track the anything from the any place of the world.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.