# Parametric classes not usable outside of own file

**URL:** <https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [September 6, 2023, 6:45pm UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253 "2023-09-06T18:45:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [September 6, 2023, 6:45pm UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253/1 "2023-09-06T18:45:31Z")

</div>

### Please select what you are reporting on:

Verse

### What Type of Bug are you experiencing?

Verse

### Summary

Parametric classes not usable outside of own file

### Steps to Reproduce

Make a parametric class, reference it outside the file

### Expected Result

No errors, the class should be called outside the file (it’s not in a module, and even when inside a module, the same error occurs)

### Observed Result

Can’t access a function from a preceding type. (3502)

Error only raises once we make a reference to that class.

### Platform(s)

PC

### Additional Notes

This is the 3rd time it happens to me, but this time with a snippet from a staff member’s ([https://dev.epicgames.com/community/snippets/rmpp/fortnite-generic-queue-implementation](https://dev.epicgames.com/community/snippets/rmpp/fortnite-generic-queue-implementation))

It’s really annoying, because you can only use the class once in a single file, else you’d have to merge all of your Verse files referecing this class together…

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/a/7aa298edd22eacde16eedb964f9f3b398bad18b9.png)

Also related : [How can I make a custom listenable? - #5 by TheCreaitor](https://forums.unrealengine.com/t/how-can-i-make-a-custom-listenable/1305603/5)

---

<div class="post-metadata">

**Author:** ![TheCreaitor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thecreaitor/32/1100960_2.png) [@TheCreaitor](https://forums.unrealengine.com/u/TheCreaitor)\
**Post date:** [September 28, 2023, 10:23pm UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253/2 "2023-09-28T22:23:27Z")

</div>

Getting the same issue quite often when using generics!

---

<div class="post-metadata">

**Author:** ![Stevie-Moon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stevie-moon/32/701656_2.png) [@Stevie-Moon](https://forums.unrealengine.com/u/Stevie-Moon)\
**Post date:** [September 28, 2023, 11:15pm UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253/3 "2023-09-28T23:15:32Z")

</div>

@TheCreaitor Thank you for your report! Can you please re-post using the “New Issue” option on the [Issues and Bug Reporting forums](https://forums.unrealengine.com/tags/c/general/issues-and-bug-reporting/172/fortnite)? Posts with this feature are connected directly into our development team so we can quickly get to them!For more information, such as how to get the reference ID, please check out the article here: [https://create.fortnite.com/news/using-the-creative-and-uefn-bug-reporting-form](https://create.fortnite.com/news/using-the-creative-and-uefn-bug-reporting-form)

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [September 29, 2023, 11:10am UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253/4 "2023-09-29T11:10:50Z")

</div>

This is already an “issue” topic, did it not sent correctly to the devs?

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [October 9, 2023, 2:13pm UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253/5 "2023-10-09T14:13:24Z")

</div>

The status of UCB-980 incident has been moved from ‘Awaiting Validation’ to ‘Closed’.

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [October 27, 2023, 10:19pm UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253/6 "2023-10-27T22:19:41Z")

</div>

What does that mean ?

---

<div class="post-metadata">

**Author:** ![LionUnchained](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lionunchained/32/1039015_2.png) [@LionUnchained](https://forums.unrealengine.com/u/LionUnchained)\
**Post date:** [November 1, 2023, 7:46pm UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253/7 "2023-11-01T19:46:38Z")

</div>

When they asked what they could do better on in that Discord chat, this would be the primary example.

---

<div class="post-metadata">

**Author:** ![Daigoro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daigoro](https://forums.unrealengine.com/u/Daigoro)\
**Post date:** [November 6, 2023, 6:36am UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253/8 "2023-11-06T06:36:06Z")

</div>

Any updates?

---

<div class="post-metadata">

**Author:** ![Flak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flak/32/769441_2.png) [@Flak](https://forums.unrealengine.com/u/Flak)\
**Post date:** [November 6, 2023, 10:29am UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253/9 "2023-11-06T10:29:09Z")

</div>

Hi @im_a_lama - The reason is because it was closed as a duplicate ticket. I’ll ask if we can get some better wording when issues are closed as duplicate.

---

<div class="post-metadata">

**Author:** ![Daigoro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daigoro](https://forums.unrealengine.com/u/Daigoro)\
**Post date:** [November 6, 2023, 1:32pm UTC](https://forums.unrealengine.com/t/parametric-classes-not-usable-outside-of-own-file/1285253/10 "2023-11-06T13:32:04Z")

</div>

Hey Flak, I opened another ticket for the same topic since I didn’t know it was a duplicate, but I added important details for to the “how to reproduce” section, that should help reliably reproducing this bug. If you can link me the original ticket, I can add that info into that post and delete mine.

> [@Unusable Verse modules](https://forums.unrealengine.com/t/unusable-verse-modules/1367579):
>
> Please select what you are reporting on: Verse What Type of Bug are you experiencing? Verse Summary Seems like the previous report didn’t work, so i try it again: Parametric classes not usable outside of own file Steps to Reproduce Make a parametric class, reference it outside the file. If you rename the file with the parametric class, the code will break. If you rename the file with that references the parametric class, it will work again. If you rename the file with the parametric clas…
