# copy paste bug, loading materials bug

**URL:** <https://forums.chaos.com/t/copy-paste-bug-loading-materials-bug/104155>\
**Category:** Issues\
**Created:** [March 30, 2021, 8:26am UTC](https://forums.chaos.com/t/copy-paste-bug-loading-materials-bug/104155 "2021-03-30T08:26:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makushimu](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/makushimu/32/3825_2.png) [@Makushimu](https://forums.chaos.com/u/Makushimu)\
**Post date:** [March 30, 2021, 8:26am UTC](https://forums.chaos.com/t/copy-paste-bug-loading-materials-bug/104155/1 "2021-03-30T08:26:23Z")

</div>

Hi,

I managed to record a bug related to copying objects, or rather materials on these objects.  
In addition, you can see how vray has a problem with loading materials, which causes cinema 4d to hang for a long time.  
I very often find vray materials getting lost this way, sometimes it’s whole materials, sometimes texture paths.  
Both bugs hinder the work, because you have to count on the cinema won’t get stuck when placing a new object in the scene and on the paths and materials won’t get damaged.  
[Here is a reference to lost texture paths that were possibly lost when dropping objects into the scene, which made hybrid rendering a problem.](https://forums.chaosgroup.com/forum/v-ray-for-cinema-4d/v-ray-for-cinema-4d-issues/1108029-hybrid-rendering)

Video:  
[https://streamable.com/bbjuny](https://streamable.com/bbjuny)

Scene with mats:

> **[WeTransfer | Send Large Files Fast](https://wetransfer.com/downloads/123fb692678756c5e634ab4f3e8aabd920210330081239/370bfb)**
>
> The simple, quick and secure way to send your files around the world without an account. Share your files, photos, and videos today for free.

One more thing that is not in the video. Once copied, vray replaces the material in the object with the one on the left side of the material manager.  
It looks like the bug is related to the identical material name.

 ![yellow.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/f/e/fe8d6e5cb28b796b844efc05e2a75cb3d9a57882.jpeg) ![blue.jpg](https://europe1.discourse-cdn.com/chaosprd/original/2X/2/2e00931096c322fad7dd0def3c04614ba33841ce.jpeg)

---

<div class="post-metadata">

**Author:** ![shaio](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/shaio/32/36276_2.png) [@shaio](https://forums.chaos.com/u/shaio)\
**Post date:** [March 30, 2021, 9:34am UTC](https://forums.chaos.com/t/copy-paste-bug-loading-materials-bug/104155/2 "2021-03-30T09:34:33Z")

</div>

Hey @Makushimu ,  
thank you for the feedback. There are a few issues for me here:

The textures didn’t load for me at all. It seems that having the bitmap names with a different and non latin characters is causing a problem (at least on my end). One of your texture names is seen as **drewno na krzesła - żółte\_1.tif** in Cinema 4D but when I view it in Windows explorer it’s seen as **drewno na krzesИa - ╛вИte.tif.** Cinema 4D or V-Ray isn’t able to find the right name since they’re not the same therefore they’re not loading. You can take a look on how the scene looks on my end because of that naming in the image below:

![tex_char.gif](https://europe1.discourse-cdn.com/chaosprd/original/3X/8/9/89677876d02082eb7b5673462b39789f47523d34.gif)

Can you please resave the scene with renamed textures that don’t contain characters in other languages but only English ones, so I can test the slow loading and coping of objects on my end? When you’re makin the zip image please double check that the filenames are correct before sharing it.  
I can of course rename them and resave the scene by my self but it’s better if you do it since there is a chance that you might be handling this different from me and I want to make sure that I have the scene saved exactly as on your side. I’ll also share this issue with the texture names with the devs.  
 ![tex_char.gif](https://europe1.discourse-cdn.com/chaosprd/original/3X/8/9/89677876d02082eb7b5673462b39789f47523d34.gif)

---

<div class="post-metadata">

**Author:** ![Makushimu](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/makushimu/32/3825_2.png) [@Makushimu](https://forums.chaos.com/u/Makushimu)\
**Post date:** [March 30, 2021, 12:17pm UTC](https://forums.chaos.com/t/copy-paste-bug-loading-materials-bug/104155/3 "2021-03-30T12:17:37Z")

</div>

1. I threw an object into an empty scene from the file explorer.  
2. I used File → Save Project with Assets

A strange thing is happening. When saving a scene with assets, it duplicates the used tiffs and saves them with slightly different names. They are attached.

Maybe there are more bugs related to saving the vray scene with assets, because only with vray I noticed such naming bugs with non latin characters ?

Scene just saved with assets:

> **[WeTransfer | Send Large Files Fast](https://wetransfer.com/downloads/69febcee018be2f6e2056ad92f47037420210330120618/47eedb)**
>
> The simple, quick and secure way to send your files around the world without an account. Share your files, photos, and videos today for free.

Scene with changed tiffs names:

> **[WeTransfer | Send Large Files Fast](https://wetransfer.com/downloads/bffeb1a3575680518cedb99ff1b66f3d20210330121600/680ec7)**
>
> The simple, quick and secure way to send your files around the world without an account. Share your files, photos, and videos today for free.

Nevertheless, copy errors still occur in both scenes. Double checked.

---

<div class="post-metadata">

**Author:** ![shaio](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/shaio/32/36276_2.png) [@shaio](https://forums.chaos.com/u/shaio)\
**Post date:** [March 30, 2021, 6:42pm UTC](https://forums.chaos.com/t/copy-paste-bug-loading-materials-bug/104155/4 "2021-03-30T18:42:06Z")

</div>

Thank you @Makushimu ,  
I’ve reproduced the copying issue on my end and will report it for fixing.  
I have one more request. Could you please try and save the same scene with the assets but using Cinema 4D instead of V-Ray materials this time and let me know if it has the same behavior of changing the names?

---

<div class="post-metadata">

**Author:** ![Makushimu](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/makushimu/32/3825_2.png) [@Makushimu](https://forums.chaos.com/u/Makushimu)\
**Post date:** [March 30, 2021, 7:13pm UTC](https://forums.chaos.com/t/copy-paste-bug-loading-materials-bug/104155/5 "2021-03-30T19:13:30Z")

</div>

I swapped the mats for native c4d materials and tried with redshift materials. Copy error does not occur and the file names have not been changed or doubled.

> **[WeTransfer | Send Large Files Fast](https://wetransfer.com/downloads/368b16eddf1ed6a3041d5a6fbbb052d820210330191243/2cae6b)**
>
> The simple, quick and secure way to send your files around the world without an account. Share your files, photos, and videos today for free.

---

<div class="post-metadata">

**Author:** ![shaio](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/shaio/32/36276_2.png) [@shaio](https://forums.chaos.com/u/shaio)\
**Post date:** [April 2, 2021, 9:59am UTC](https://forums.chaos.com/t/copy-paste-bug-loading-materials-bug/104155/6 "2021-04-02T09:59:06Z")

</div>

Thank you @Makushimu it was reported for fixing.
