david.garcia Posted June 3, 2014 Share Posted June 3, 2014 Hi, We have an AppWall 3x1 and when we are trying to insert a WidgetSprite in each wall application crashes with the following message: engine\render\direct3d11\framework\D3D11Gui.cpp:166: Assertion: 'src >= 0 && src < NUM_BLEND_FUNC && "D3D11Gui::set_blend_func(): bad blend src function"' You can reproduce this issue creating a new project from Ungine SDK browser with the following settings: - Launchers: Console script launchers (.bat) with predefined settings Renderer: DirectX11 Monitors: Wall 2x1 - Video Output Monitor wall (AppWall plugin) CHECKED After this step in the "my_project".cpp file, you have to change the init method to this: int init() { PlayerSpectator camera = new PlayerSpectator(); camera.setPosition(Vec3(2.0f,0.0f,1.5f)); camera.setDirection(Vec3(-1.0f,0.0f,-0.5f)); engine.game.setPlayer(camera); forloop(int y = 0; engine.wall.getHeight()) { forloop(int x = 0; engine.wall.getWidth()) { Gui gui = engine.wall.getGui(x,y); WidgetSprite logo = new WidgetSprite(engine.getGui(), "unigine.png"); gui.addChild(logo,GUI_ALIGN_OVERLAP); } } return 1; } What's wrong? Thanks in advance, David García Link to comment
silent Posted June 3, 2014 Share Posted June 3, 2014 Hi David, Thank you for the detailed description! Could you please provide additional information about this issue: How many monitors are connected to the PC? What OS and Unigine SDK version are you currently using? What is the value of video_fullscreen variable in your launch options? Can you reproduce this issue with only one monitor connected? Can you reproduce this issue after deleting my_project/unigine.cfg file? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
david.garcia Posted June 3, 2014 Author Share Posted June 3, 2014 Hi Silent, How many monitors are connected to the PC? -> 2 What OS and Unigine SDK version are you currently using? -> Windows; UNIGINE_Sim_source_windows_2014-03-25 What is the value of video_fullscreen variable in your launch options? -> 0 Can you reproduce this issue with only one monitor connected? -> I can reproduce this issue. Can you reproduce this issue after deleting my_project/unigine.cfg file? -> I can´t reproduce The differences between config files are: Before delete: <item name="show_gpu" type="int">1</item> <item name="video_mode" type="int">13</item> <item name="video_resizable" type="int">1</item> After delete: <item name="video_mode" type="int">-1</item> <item name="video_resizable" type="int">0</item> Thanks! Link to comment
silent Posted June 3, 2014 Share Posted June 3, 2014 Hi David, Thank you! This issue is confirmed and added to the bug tracker. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
joseramon.lopez Posted July 23, 2014 Share Posted July 23, 2014 Hi Silent, I've modified the appWall plugin to solve this problem. If you disable the render_gui method on the startup the application don't crash. Thanks Link to comment
silent Posted July 28, 2014 Share Posted July 28, 2014 Thank you for this useful information! I will add it to the ticket :) How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted October 9, 2014 Share Posted October 9, 2014 Fixed, the bug fix will be available in the next SDK update. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts