hoangduit / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

unity load protoModelSerializer dll error #431

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please include an e-mail address if this might need a dialogue!
wangdebing@vstar-ol.com
==============
What steps will reproduce the problem?
1.  define about 300 proto message
2.  protogen.exe -i:*.proto -p:detectMissing -o:vstarProto.cs
3. generate assembly  protoModel.dll
4. precompile.exe protoModel.dll -o:protobufSerializer.dll

What is the expected output? What do you see instead?
 expected output is unity load normally, but i see
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: Mono.CSharp.InternalErrorException: 
Assets/Scripts/GameEngine/TcpHandle.cs(22,22): scgl.TcpHandle ---> 
Mono.CSharp.InternalErrorException: 
Assets/Scripts/GameEngine/TcpHandle.cs(24,38): scgl.TcpHandle.serializer ---> 
System.IO.FileNotFoundException: Could not load file or assembly ', 
Version=29285.24910.25965.29440, Culture=neutral, 
PublicKeyToken=0907d8af90186095' or one of its dependencies.

What version of the product are you using? On what operating system?
protobuf-net r668   windows 7 and unity project

Please provide any additional information below.
unity version is 4.3.1f1

Original issue reported on code.google.com by koki.wdb@gmail.com on 23 Feb 2014 at 7:31

Attachments:

GoogleCodeExporter commented 9 years ago
Can I check: it is unity that is raising the error? Also: is you unity project 
referencing the protobu-net DLL that protoModel.DLL references?

Original comment by marc.gravell on 23 Feb 2014 at 8:23

GoogleCodeExporter commented 9 years ago
yes, reference the same protobuf-net dll. when the number of message very less, 
so  it is no problem .

attachment  is the protobuf-net dll

Original comment by koki.wdb@gmail.com on 23 Feb 2014 at 9:25

Attachments: