I ended up chasing ghosts once again, this time the thing that's driving me crazy is a using
statement that seems to be deciding to stop working on a single file and at build time only. It's about the IGraphResult
object contained inside the Facebook.Unity
namespace.
I have checked the #if
statements multiple times on both the using statement and the actual line that references it. The usage is perfectly mirrored on several other files, but when it comes to making the build, regardless of applying totally unrelated scripting define symbols, it seems to cause only that single file to stop recognising IGraphResult
as a thing.
A few facts:
#if !NETFX_CORE
What could cause Unity3D to selectively forget a namespace or ignore a using statement on a single file?
Can anybody suggest other ways to approach this issue?
Turns out it was due to some assemblies not being correctly imported for the tvOS platform.
Somehow this wasn't showing in source control.