elecman
Topic Author
Posts: 90
Joined: 20 Jul 2014, 04:28

Unity crash

19 Oct 2017, 11:31

When using Unity 217.1.0f3 and NoesisGUI 2.1.0b4, Unity crashes when entering play mode.

To reproduce:
-Add a quad primitive to the scene.
-Add a NoesisView component to the quad.
-Add an xaml asset to the NoesisView component.
-Press play. Unity will crash without warning.

It works correctly if a material is added which contains a render texture. It should throw an error which indicates a material with a render texture has to be added instead of crashing.
 
User avatar
sfernandez
Site Admin
Posts: 1915
Joined: 22 Dec 2011, 19:20

Re: Unity crash

23 Oct 2017, 11:23

Hi, I was able to reproduce, anyway could you please create a ticket in our bugtracker?
This way we can better keep track when bugs are solved.
 
elecman
Topic Author
Posts: 90
Joined: 20 Jul 2014, 04:28

Re: Unity crash

25 Oct 2017, 05:00

Ok, done. Issue nr 1167.
 
User avatar
jsantos
Site Admin
Posts: 2905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Unity crash

26 Oct 2017, 18:37

Thanks!
 
elecman
Topic Author
Posts: 90
Joined: 20 Jul 2014, 04:28

Re: Unity crash

13 Dec 2017, 01:43

This is supposed to be fixed in beta .10 but if the render texture is added to the emissive slot only, the xaml is rendered full screen instead of in world space.

I filed a new bug report, because this issue had been warned for already in the previous bug report.

Bug nr.
0001202
 
User avatar
sfernandez
Site Admin
Posts: 1915
Joined: 22 Dec 2011, 19:20

Re: Unity crash

18 Dec 2017, 09:43

Thanks for the report.

Related to this we are thinking of a new approach for the future. We would probably expose a Camera property in NoesisView that users will set. This way users will decide wether they want to render to texture or main screen depending on how they configure their camera, instead of us trying to guess looking at gameobject properties.

Who is online

Users browsing this forum: No registered users and 1 guest