SU crashes, when creating a light

Questions, bugs, help for Twilight Render V2 Hobby and Professional
jo-ke
Posts: 1134
Joined: Tue May 11, 2010 6:30 am
OS: WIN 10
SketchUp: 2021pro
Location: Germany

SU crashes, when creating a light

Post by jo-ke » Sun Apr 12, 2015 4:05 pm

Now it is the thrid time, that su crashes, when creating a light in a scene. I was working a bit fast, may to fast for the plugin?

it always happend after the third and last click, when creating a light

Fletch
Posts: 12905
Joined: Fri Mar 20, 2009 2:41 pm
OS: PC 64bit
SketchUp: 2016-2023
Contact:

Re: SU crashes, when creating a light

Post by Fletch » Sun Apr 12, 2015 9:47 pm

That sounds quite frustrating. Which version of the plugin, specifically, are you using and on what operating system?

jo-ke
Posts: 1134
Joined: Tue May 11, 2010 6:30 am
OS: WIN 10
SketchUp: 2021pro
Location: Germany

Re: SU crashes, when creating a light

Post by jo-ke » Mon Apr 13, 2015 4:34 am

I am working on

WIN7 64bit
SU2015 15.3.331 64bit
Twilight 2.0.4 (M2)

jo-ke
Posts: 1134
Joined: Tue May 11, 2010 6:30 am
OS: WIN 10
SketchUp: 2021pro
Location: Germany

Re: SU crashes, when creating a light

Post by jo-ke » Mon Apr 13, 2015 4:38 am

seems to be not the latest version of twilight.

I'm going to download it...

Chris
Posts: 5344
Joined: Sun Mar 08, 2009 3:00 am
OS: Win10
SketchUp: 2016

Re: SU crashes, when creating a light

Post by Chris » Mon Apr 13, 2015 2:25 pm

Do you have SU2LUX installed? There have been reports that SU2LUX does things when new materials are created and because of this, when a new light in Twilight Render is created (which creates a custom material for that light), it causes a crash. I don't know what SU2LUX is doing in response to a new material, but it seems to be causing a crash.

jo-ke
Posts: 1134
Joined: Tue May 11, 2010 6:30 am
OS: WIN 10
SketchUp: 2021pro
Location: Germany

Re: SU crashes, when creating a light

Post by jo-ke » Mon Apr 13, 2015 2:44 pm

no I don't have it.

I will report it, if it happens again with the new version.

Chris
Posts: 5344
Joined: Sun Mar 08, 2009 3:00 am
OS: Win10
SketchUp: 2016

Re: SU crashes, when creating a light

Post by Chris » Mon Apr 13, 2015 3:32 pm

What plugins do you have installed? It could be a problem common to more than one plugin (especially when plugins are built against the same basic "framework").

jo-ke
Posts: 1134
Joined: Tue May 11, 2010 6:30 am
OS: WIN 10
SketchUp: 2021pro
Location: Germany

Re: SU crashes, when creating a light

Post by jo-ke » Tue Apr 14, 2015 5:07 am

these are my plugins:
Attachments
plugins.jpg
plugins.jpg (76.85 KiB) Viewed 10928 times

Chris
Posts: 5344
Joined: Sun Mar 08, 2009 3:00 am
OS: Win10
SketchUp: 2016

Re: SU crashes, when creating a light

Post by Chris » Tue Apr 14, 2015 2:09 pm

So quite a lot. :lol:

My guess is that one of the plugins is doing the same thing we have seen SU2LUX do, which is delete and replace ComponentInstances. When Twilight Render creates a light component and sets up the material on it, if one of the plugins is deleting that instance and replacing it, the ComponentInstance that Twilight Render is trying to work with is no longer valid (and SU crashes). If you are able to determine which one (if that turns out to be the case), that would be very helpful information.

Fletch
Posts: 12905
Joined: Fri Mar 20, 2009 2:41 pm
OS: PC 64bit
SketchUp: 2016-2023
Contact:

Re: SU crashes, when creating a light

Post by Fletch » Tue Apr 14, 2015 7:35 pm

copy the current plugins folder, and rename the copy to be plugins-orig
then open the plugins folder and delete all the plugins so that the folder is empty except for Twilight Render
restart SU and test. If it is no longer crashing, copy half of the plugins into the folder, and test again.
If it crashes now, then you know one of the plugins you copied in is the problem plugin. Delete half of them, and test again.
If still no crash, put half of the remaining plugins into the folder, and so on.
This is the quickest way I know of to find the troublesome plugin... test half the plugins, at a time - then test the other half.

Hope this makes sense, it's difficult to explain, but easy to do. :oops:

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests