# VRAY 3.40.01 - materials saved in beta2 lost in final version

**URL:** <https://forums.chaos.com/t/vray-3-40-01-materials-saved-in-beta2-lost-in-final-version/62827>\
**Category:** Public\
**Created:** [March 12, 2017, 4:38pm UTC](https://forums.chaos.com/t/vray-3-40-01-materials-saved-in-beta2-lost-in-final-version/62827 "2017-03-12T16:38:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Szakul](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@Szakul](https://forums.chaos.com/u/Szakul)\
**Post date:** [March 12, 2017, 4:38pm UTC](https://forums.chaos.com/t/vray-3-40-01-materials-saved-in-beta2-lost-in-final-version/62827/1 "2017-03-12T16:38:31Z")

</div>

Hi  
In beta2 I’ve created materials with color correction + bitmap.  
Now all materials created as above, are regular bitmap with file path - C:/Program Files/Chaos Group/V-Ray/V-Ray 3.4 for SketchUp/extension/ruby/resources/V-Ray Procedural Texture.png. I’ve lost color correction.  
Why?  
Should I create them once again?

---

<div class="post-metadata">

**Author:** ![Szakul](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@Szakul](https://forums.chaos.com/u/Szakul)\
**Post date:** [March 14, 2017, 8:42pm UTC](https://forums.chaos.com/t/vray-3-40-01-materials-saved-in-beta2-lost-in-final-version/62827/2 "2017-03-14T20:42:28Z")

</div>

Anybody???

---

<div class="post-metadata">

**Author:** ![noel.warren](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/noel.warren/32/38915_2.png) [@noel.warren](https://forums.chaos.com/u/noel.warren)\
**Post date:** [March 17, 2017, 10:12am UTC](https://forums.chaos.com/t/vray-3-40-01-materials-saved-in-beta2-lost-in-final-version/62827/3 "2017-03-17T10:12:01Z")

</div>

Please try applying the following snippet of ruby **before** activating the beta scene (open it but don’t push any V-Ray buttons). Open the ruby console (window \> ruby console) and paste in the following snippet of code to upgrade the texture helpers

Sketchup.active\_model.materials.each{|m|  
&nbsp;&nbsp;&nbsp;&nbsp;if m.texture && File.basename(m.texture.filename) == “V-Ray Procedural Texture.png”  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VRay::TextureHelper.create(m)  
&nbsp;&nbsp;&nbsp;&nbsp;end  
}

I haven’t been able to test this thoroughly so if it does not work for you please send us the scene in question (or a sample .skm sketchup material file)

Bare in mind that if you have saved the file after having imported in the the released product, the lost assets will not be recoverable.

---

<div class="post-metadata">

**Author:** ![Szakul](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@Szakul](https://forums.chaos.com/u/Szakul)\
**Post date:** [April 6, 2017, 10:22am UTC](https://forums.chaos.com/t/vray-3-40-01-materials-saved-in-beta2-lost-in-final-version/62827/4 "2017-04-06T10:22:20Z")

</div>

Sorry for delay. Your solution works perfect!!! Thank You VERY MUCH !!! Before convertion You have to remember the width and height of texture (if different of standard Sketchup - 25,4 cm)
