Hello eveyone! , when I run a test runner , in unity 2018.4.3 it have to create a Assembly Definition to test ,
I need “test my game logic” ,So I have to references “assembly-CShrap.dll” but I can’t find that !!
So I have a tricky solution like that
I create a new Assemlby define to in include all script
and reference to test assemlby define
Ok it work , But when I load assetbundle Get this error meesage!
A scripted object (probably UIButton?) has a different serialization layout when loading. (Read 32 bytes but expected 344 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
UnityEngine.AssetBundle:get_mainAsset()
It look like myAssembly define changed , And My “Old Assetbundle” can not load sccuess ,
So I dont want to rebuild all Assetbundle , So how can I do ?