Trying to use this with Hololens [solved]

@aron_granberg I tested the new version and it works. Thank you!

1 Like

just building project for hololens.

Specifically the stuff is this:
#if NETFX_CORE
// Need to make a copy here, otherwise it may refer to some other index when the task actually runs
var threadIndex = i;
System.Threading.Tasks.Task.Run(() => BuildTiles(tileQueue, buckets, waitEvents[threadIndex], threadIndex));
#else
#endif

and:
#if NETFX_CORE
var waitEvent = waitEvents[i];
System.Threading.Tasks.Task.Run(() => ConnectTiles(tileQueue, waitEvent, direction == 0, direction == 1));
#else
#endif

the first block is sitting on line 1187, right after “vox.maxEdgeLength = maxEdgeLength;”
which can’t compile because ‘i’ doesn’t even exist there. and secondly, there is only two mentions of “tileQueue” anywhere in the entire code, and it’s just in those two blocks.

maybe there is a mistake between the free and pro version? I haven’t looked at the Free one.

Ah. Found the issue. I had cherry picked a commit from another branch and it didn’t apply cleanly. I have uploaded a new version now which I think should fix the issue (and indeed it only applied to the pro version).