New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The SceneKit.SCNSceneRenderer.OverlayScene
property can not be null (but should be)
#3392
Milestone
Comments
The ObjC documentation does not mention it's However it's optional on the swift documentation |
spouliot
added
bug
If an issue is a bug or a pull request a bug fix
iOS
Issues affecting Xamarin.iOS
labels
Feb 5, 2018
spouliot
changed the title
The
The Feb 5, 2018
SceneKit.ISCNSceneRenderer.OverlayScene
property can not be null (but should be)SceneKit.SCNSceneRenderer.OverlayScene
property can not be null (but should be)
dalexsoto
added a commit
to dalexsoto/xamarin-macios
that referenced
this issue
Feb 7, 2018
Fixes xamarin#3392 It seems swift has this property listed as an optional[0] and an Apple sample[1] sets this to null so `ISCNSceneRenderer.OverlayScene` needs to have `[NullAllowed]` even if ObjC headers do not have nullability information. [0]: https://developer.apple.com/documentation/scenekit/scnscenerenderer/1524051-overlayskscene [1]: xamarin#3392
dalexsoto
added a commit
to dalexsoto/xamarin-macios
that referenced
this issue
Feb 7, 2018
Fixes xamarin#3392 It seems swift has this property listed as an optional[0] and an Apple sample[1] sets this to null so `ISCNSceneRenderer.OverlayScene` needs to have `[NullAllowed]` even if ObjC headers do not have nullability information. [0]: https://developer.apple.com/documentation/scenekit/scnscenerenderer/1524051-overlayskscene [1]: xamarin#3392
dalexsoto
added a commit
that referenced
this issue
Feb 7, 2018
Fixes #3392 It seems swift has this property listed as an optional[0] and an Apple sample[1] sets this to null so `ISCNSceneRenderer.OverlayScene` needs to have `[NullAllowed]` even if ObjC headers do not have nullability information. [0]: https://developer.apple.com/documentation/scenekit/scnscenerenderer/1524051-overlayskscene [1]: #3392
dalexsoto
added a commit
to dalexsoto/xamarin-macios
that referenced
this issue
Feb 7, 2018
…n#3410) Fixes xamarin#3392 It seems swift has this property listed as an optional[0] and an Apple sample[1] sets this to null so `ISCNSceneRenderer.OverlayScene` needs to have `[NullAllowed]` even if ObjC headers do not have nullability information. [0]: https://developer.apple.com/documentation/scenekit/scnscenerenderer/1524051-overlayskscene [1]: xamarin#3392
dalexsoto
added a commit
that referenced
this issue
Feb 7, 2018
…#3423) Fixes #3392 It seems swift has this property listed as an optional[0] and an Apple sample[1] sets this to null so `ISCNSceneRenderer.OverlayScene` needs to have `[NullAllowed]` even if ObjC headers do not have nullability information. [0]: https://developer.apple.com/documentation/scenekit/scnscenerenderer/1524051-overlayskscene [1]: #3392
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am working on the original Apple sample and found a difference between the API: I can set
null
to theOverlayScene property using
swift
but can not do it usingXamarin
.Steps to Reproduce
SCNView
OverlayScene
propertynull
to theOverlayScene
propertyExpected Behavior
I can set
null
to the property and it will not crush.Actual Behavior
System.ArgumentNullException
has been thrown.Environment
Build Logs
Example Project
The text was updated successfully, but these errors were encountered: