- Home /
.dll files will not be loaded in latest unity version
Every time when I want to start the game 5 directory erros pop up, which make the game unable to test in the Editor.
-Assembly 'Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll' will not be loaded due to errors: Reference has errors 'Stores'.
-Assembly 'Library/ScriptAssemblies/Assembly-CSharp.dll' will not be loaded due to errors: Reference has errors 'Stores'.
-Assembly 'Library/ScriptAssemblies/Assembly-CSharp-Editor-firstpass.dll' will not be loaded due to errors: Reference has errors 'Assembly-CSharp-firstpass'.
-Assembly 'Assets/Plugins/UnityPurchasing/Bin/Editor.dll' will not be loaded due to errors: Unable to resolve reference 'UDP'. Is the assembly missing or incompatible with the current platform?
-Assembly 'Assets/Plugins/UnityPurchasing/Bin/Stores.dll' will not be loaded due to errors: Unable to resolve reference 'UDP'. Is the assembly missing or incompatible with the current platform?
Can you give me any help?
I am facing the same problem. Have you found the solution?
Answer by srcsameer · May 16, 2019 at 11:03 AM
@unity_N2KDSek8n06ERA @binarybehemoth
Go to Assets\Plugins\UnityPurchasing and inside the folder you will find 3 packages 1.UDP 2.UnityChannel and 3.UnityIAP import these three to your project and your problem will be solved.
Can someone please explain WHY this is happening? I keep seeing hacks like "Double click all DLLs till Unity crashes. When it restarts your project will work again" but nothing actually explains the problem.
.
In my case I only have 2 errors:
Assembly 'Library/ScriptAssemblies/Assembly-CSharp-Editor.dll and
Assembly 'Library/ScriptAssemblies/Assembly-CSharp.dll'
.
How do I fix this? I can't import anything since these are not assemblies one imports:( What do I do? :(
Answer by alexman · May 29, 2020 at 12:33 PM
To anyone who experience the same error, it's caused by unity in app purchase's buggy installation package
import custom package
import UDP first, make sure the dialog window open, you may need to try a few times
import the Unity IAP package
I just had the same error, the steps above solved it, you may need to restart the project a few times... good luck
Sigh, I am really struggling with this. It seems like any way I try to fix my current IAP issues with building the Unity package a new issue pops up. (I am running 2020.3.3f1. Updating to 2020.3.10f1 or 2021.1.7f1 just breaks Unity IAP stuff. This package seems like a mess.)
My big question at the moment is where are you getting the UDP and Unity IAP packages? The stuff on the Asset store seems to obsolete. The Package Manager does not have an "All" selection as some seem to suggest it should. If I pick "Unity Registry" there is nothing.
A side note too, when I build the project with an older one from the asset store I can get it to build but very often when I start the editor it tells me I need to update. If I pick "Update" from the popup it seems like files are moved and it says it is done but no files change. Then I get the same update warning when launching the editor. With the obsolete version that builds I have tried adding assemble definitions so I can use the Test Runner PlayMode but despite many tries, I get errors in the Unity Purchase code every time.
I would love to have some clean, clear process by which I could get the Unity IAP stuff sorted out. Ideally with assembly definitions so that I can use the Test Runner PlayMode.
Your answer
Follow this Question
Related Questions
Invalid serialized file header 0 Answers
I'm experiencing constant crashes when the multiple game windows are open. 0 Answers
Everything in unity except for screen is black. 1 Answer
[Error] Error While Importing Packages 0 Answers
Objects only the backside is visibly rendered - Major Bug or my fault? 3 Answers