pitracker | Project and Issue Tracker | Stream Processing library
kandi X-RAY | pitracker Summary
kandi X-RAY | pitracker Summary
Project and Issue Tracker
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pitracker
pitracker Key Features
pitracker Examples and Code Snippets
Community Discussions
Trending Discussions on pitracker
QUESTION
I get the following error when I use ice .netcore 2.0 dll from NuGet (https://www.nuget.org/packages/zeroc.ice.net) inside a Unity2018.1 project when running the project on Android. The same error occurs when using the .Net 4.5 .dll variant inside Unity2018 or Unity2017.
Runs ok inside the Editor on desktop but fails on Android:
NullReferenceException: Object reference not set to an instance of an object
at IceInternal.ByteBuffer.putFloat (System.Single val) [0x00032] in <0ec35a220aea490187b153a1b6df7823>:0
at Ice.OutputStream.writeFloat (System.Single v) [0x00007] in <0ec35a220aea490187b153a1b6df7823>:0
at PiTracker.PiTrackerServerPrxHelper+<_iceI_getProjection>c__AnonStorey1.<>m__0 (Ice.OutputStream ostr) [0x00008] in /Users/xx/xx/:2049
at IceInternal.OutgoingAsync.invoke (System.String operation, Ice.OperationMode mode, Ice.FormatType format, System.Collections.Generic.Dictionary`2[TKey,TValue] context, System.Boolean synchronous, System.Action`1[T] write) [0x00020] in <0ec35a220aea490187b153a1b6df7823>:0
at IceInternal.OutgoingAsyncT`1[T].invoke (System.String operation, Ice.OperationMode mode, Ice.FormatType format, System.Collections.Generic.Dictionary`2[TKey,TValue] context, System.Boolean synchronous, System.Action`1[T] writ
I found an old forum entry regarding this topic https://forums.zeroc.com/discussion/5730/ice-on-mono-on-android but that seems not to be valid anymore because the ICE build script doesn't allow for a managed build anymore. I've also asked on the ICE forum but only with the answer that on Unity2018 using .netcore 2.0 it should work, but it does not.
Any help highly appreciated.
...ANSWER
Answered 2018-Jun-26 at 14:06The team from ZeroC answered this question. It was actually a bug inside their CSharp code base. https://forums.zeroc.com/discussion/46631/build-ice-3-7-1-with-option-managed-yes-on-macos-or-windows#latest
As of now if you are facing this issue you need to build ICE from the 3.7 branch (https://github.com/zeroc-ice/ice/tree/3.7) for .NET yourself following their build instructions: https://github.com/zeroc-ice/ice/tree/3.7/csharp
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pitracker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page