I am currently trying to implement IronSource/LevelPlay médiation into my project.
I am currently facing a problem
My project is structured as follow:
Assets/LevelPlay/someIronSourceSampleWorking
Assets/Source/custom.asmdef
All my script are in Assets/Source, and I would Like to implement IronSource in this folder. However i get the typical error “IronSource unknown: are you missing an assembly définition…”
How to fix this? IronSource doesn’t have any asmdef file that I can import
Note: if I just move the LevelPlay folder in Source, the samples file that worked before stop working with the same error
Select your asmdef file in your Source folder and, in the inspector, under “Assembly Definition References”, add a reference to the IronSource assembly.
If it has source code, then do as @CodeSmile suggested. If it has precompiled assemblies, instead, then you can also reference those from the inspector of your asmdef. (You need to check the “Override References” checkbox to access this).
According to the IronSource Levelplay setup instructions for Unity, it seems to indicate that it comes with a lot of scripts. Perhaps you installed the wrong library? Be sure to follow the instructions to the point. Do so in an empty project first to avoid any issues with existing assets and code.