i'm trying use protobuf c# port developed jon skeet's on unity project, keep getting errors when try build , run stand alone. have copied on .dll files assets , things run smoothly while i'm running unity developer environment, compile , build error "filename unkown".
i haven't managed find solution because seems people run similar issues using marc gravell's version of protobuf. i'd stick version i'm using since working several languages project.
any appreciated.
-- solution --
it turns out had go edit > project settings > player , change net version 2.0 subset 2.0
i find type initialization exceptions occurring because of project reference issues. 2 common causes:
building application against newer version of .net library being referenced (e.g. protobuf library may have been compiled against .net 4 while application being built against .net 4.5). try resolving recompiling protobuf libs against same .net version project.
the compiler assumes reference present, @ run time not. can fix adding reference specific library (in case .net library
regexobject, system.dll)
Comments
Post a Comment